On Thu, 12 Jun 2003 12:59:52 -0500 Christian Dysthe <[EMAIL PROTECTED]>
wrote:

> I would like to globally change the default editor in Mandrake 9.1

Here's an example which fires up an emacs window if local, or runs emacs
in the xterm if the session appears to be remote (I don't like running an
X window over a modem).

/etc/profile.d/editor.sh(perms=755):  

export EDITOR="emacs"

if [ $DISPLAY != ":0.0" ];then
    export EDITOR="emacs -nw"
fi

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to