From owner-freebsd-newbies@FreeBSD.ORG Thu Aug 26 08:30:49 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CC8B16A4CE for ; Thu, 26 Aug 2004 08:30:49 +0000 (GMT) Received: from fidel.freesurf.fr (fidel.freesurf.fr [212.43.206.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2A3843D49 for ; Thu, 26 Aug 2004 08:30:48 +0000 (GMT) (envelope-from ogautherot@freesurf.fr) Received: from [192.168.0.2] (62-240-248-119.adsl.freesurf.fr [62.240.248.119]) by fidel.freesurf.fr (Postfix) with ESMTP id 1347C2A4857; Thu, 26 Aug 2004 10:30:47 +0200 (CEST) Message-ID: <412D9FB1.5010603@freesurf.fr> Date: Thu, 26 Aug 2004 10:30:41 +0200 From: Olivier Gautherot User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040812 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marcel.lautenbach" References: <801213900.20040825215844@xtsy.de> In-Reply-To: <801213900.20040825215844@xtsy.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: changing the shell and editor X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 08:30:49 -0000 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