From owner-freebsd-questions Thu Jun 28 7:19: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchange.twowaytv.co.uk (exchange.twowaytv.co.uk [194.6.2.173]) by hub.freebsd.org (Postfix) with ESMTP id 3133337B401 for ; Thu, 28 Jun 2001 07:19:02 -0700 (PDT) (envelope-from ADyas@twowaytv.com) Received: by exchange.twowaytv.co.uk with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Jun 2001 15:15:37 +0100 Message-ID: <911D8F660DF6D411B61F00500462BA01B08470@exchange.twowaytv.co.uk> From: Alex Dyas To: j mckitrick , freebsd-questions@freebsd.org Subject: RE: exporting TERM from a script Date: Thu, 28 Jun 2001 15:15:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Here is a very simple script for changing my TERM setting > manually. Why > doesn't it work? Inside the script, TERM has the value > 'cons25,' but when > it exits, it goes back to vt100 or xterm-color. Shouldn't > export fix this? > I've used TERM in my shell startup and exported it after > setting it, and it > works fine. I can also change it manually from the console, > and it works > fine. It is just this file. Try running the script thus: $ . ./gonet Note the first period. I've always used this method for picking up changes in .profile without having to log in again. I forget why this works however, someone else please enlighten... alex.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message