*BSD News Article 95194


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!pumpkin.pangea.ca!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Default Editor and Syslogd Message
Date: Tue, 13 May 1997 17:07:40 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 19
Message-ID: <3378133C.3FD7@OntheNet.com.au>
References: <01bc5f42$f52bcd20$16143ccb@clementc.ans.com.au>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Clement Cheung <clement@ans.com.au>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40776

Clement Cheung wrote:
> 
> Hi Guys,
> 
> On my new FreeBSD v2.2.1,
> 
> 1.  I set the default editor to 'ee' during installation, do you know how
> to change this to 'vi'?

# printenv
....
EDITOR=ee
....
# setenv EDITOR vi

Also, setting this environment variable can be done in .cshrc and
.profile and ...

Tony