Subject: Re: editor
To: John S. <webmaster@indra.seanet.com>
From: The Great Mr. Kurtz [David A. Gatwood] <davagatw@Mars.utm.edU>
List: port-mac68k
Date: 11/09/1996 11:08:48
On Fri, 8 Nov 1996, John S. wrote:

> Sorry for this newbie question.. :)
> I want to set pico as my editor; I have read that I need to set the 
> EDITOR to pico.. but which file I change isnt mentioned. (I.e in the vipw 
> man pages it is mentioned). Thanks for all the help. I am up to july 1996 
> in the port-mac68 mailing list archives.. what a tremendous education. 

I _hope_ there's a file in /etc called profile (although interestingly,
there's not one in MkLinux).  If not, there should be one with a similar
name in the root account's home directory (usually /root or /home/root or
under some shells, ~root will work).  Add the lines

EDITOR="/usr/local/bin/pico"
export EDITOR

to that file, substituting in the correct path.

Hope that helps,

 /---------------------------------------------------------------------\
|David A. Gatwood             And Richard Cory, one calm summer night,  |
|davagatw@mars              Went home and put a bullet through his head.|
|dgatwood@nyx.cs.du.edu              --Edwin Arlington Robinson         |
|http://mars.utm.edu/~davagatw -or- http://nox.cs.du.edu:8001/~dgatwood |
 \---------------------------------------------------------------------/