Date: Thu, 28 Jun 2001 15:15:34 +0100 From: Alex Dyas <ADyas@twowaytv.com> To: j mckitrick <jcm@FreeBSD-uk.eu.org>, freebsd-questions@freebsd.org Subject: RE: exporting TERM from a script Message-ID: <911D8F660DF6D411B61F00500462BA01B08470@exchange.twowaytv.co.uk>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?911D8F660DF6D411B61F00500462BA01B08470>