Date: Thu, 26 Aug 2004 10:30:41 +0200 From: Olivier Gautherot <ogautherot@freesurf.fr> To: "Marcel.lautenbach" <freebsd@xtsy.de> Cc: freebsd-newbies@freebsd.org Subject: Re: changing the shell and editor Message-ID: <412D9FB1.5010603@freesurf.fr> In-Reply-To: <801213900.20040825215844@xtsy.de>
index | next in thread | previous in thread | raw e-mail
Hi Marcel!
>hi again,
>
>well, i've tried a bit playin with the /etc/master.passwd, adduser,
>vipw an so on.
>
>now i use the bash shell. but, i am not able to change my enviroment
>variables anymore. trying "set EDITOR emacs" did not work. when ich
>echo my editor variable, it is empty. though i have changed my shell
>back to csh in the /etc/master.password file, when i log on i still
>use the bash.
>
>rebooting the system or kill -1 1 didn't do any good. i am getting
>confused now a bit. acually changes in the master.passwd file should
>take effect in any case, shouldn't they?
>
>pleas help.
>
>
Just a dumb question: did you try logging out and back in?
You need to do that to refresh for sure your environment
(reboot not necessary: it's not Windows :-) ).
Also, if you use the bash/csh command "set", it will affect only
the current shell. Nested invocations won't be affected.
Try "setenv" in csh or "export" in bash.
Hope it helps
Olivier
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412D9FB1.5010603>
