Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 22:48:55 -0300
From:      Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
To:        Doug Young <dougy@bryden.apana.org.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Setting environment variable "EDITOR" in vipw
Message-ID:  <3925EF07.66151395@tdnet.com.br>
References:  <018201bfc1fb$f1eb8780$847e03cb@ROADRUNNER>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <enter>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3925EF07.66151395>