From owner-freebsd-questions Fri May 19 18:46:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lince.tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id A10C937B7EE for ; Fri, 19 May 2000 18:46:31 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.139] by lince.tdnet.com.br with ESMTP (SMTPD32-5.00) id A04616C01BC; Fri, 19 May 2000 21:45:58 -0300 Message-ID: <3925EF07.66151395@tdnet.com.br> Date: Fri, 19 May 2000 22:48:55 -0300 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Doug Young Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting environment variable "EDITOR" in vipw References: <018201bfc1fb$f1eb8780$847e03cb@ROADRUNNER> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Young wrote: > > I'm trying to change the default editor in vipw from "vi" to "ee" . > "Man vipw" tells me I need to do something with an environment > variable, but doesn't say exactly where the thing is. I've browsed > around the mailing list archives but although lots of people appear > to have had problems with the same issue, there doesn't appear > to be any straightforward explanation of environment variables. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message setenv EDITOR ee The above, only works if your shell is csh. if sh: export EDITOR=ee -- Your mouse has moved. Windows NT must be restarted for the change to take effect! Reboot now? [ OK] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message