* Stephen Lee ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> I would like to make vi the default editor in Bering. Under Dachstein I
> simply added "export EDITOR=e3vi" to /etc/profiles to get the vi mode.
> This doesn't seem to work in Bering. Is there another variable I need to
> set?

You may add the following lines (in addition to the one you described in
/etc/profile) to the top of the /bin/edit file:

. /etc/profile
EDITOR=${EDITOR:=/bin/e3}

Then delete the EDITOR=/bin/e3 line below.  You can then change the editor
whenever you want through the lrcfg menu by editing the /etc/profile file.  Or,
you can just change it in /bin/edit directly if it is a one-time proposition.

---------------------------------------------------------------------------
Chad Carr                                             [EMAIL PROTECTED] 
---------------------------------------------------------------------------

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to