obviously you chose a console editor,, like vim, pico, mcedit,,

would be strange to only be able to edit crontab in the gui... (not even
sure that would work.)



rgds

Frank

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark Weaver
Sent: Tuesday, 11 December 2001 10:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] changing default editor..


On Mon, 10 Dec 2001 02:15:02 -0800
"David Guntner" <[EMAIL PROTECTED]> wrote:

> Franki grabbed a keyboard and wrote:
> >
> > vi has been my nemesis for a long time now, I never get the time to
learn
> > it, as there are other easier editors and I don't have the time to worry
> > about it..
> >
> > I need to edit my contab and don't wish to do it with vi..
> >
> > I'd prefer pico or mcedit (both of which are installed.)
>
> In your .bash_login or .profile file (which-ever you use):
>
> export EDITOR=pico    (or mcedit, which-ever you prefer)
> export VISUAL=$EDITOR
>
> Putting both thos lines in will make sure that you get it while in your
> shell, no matter which variable is looked at by the program that's calling
> your editor of choice (some look for $EDITOR, some look for $VISUAL).  Log
> out, log back in, and you're set from then on.
>

ok, but out of curiosity how does this "default" editor get called while
you're in the "shell"?

--
daRcmaTTeR
=/\=???
      |%C++
Registered Linux User # 186492

"We love and desire the things most that will kill us!"



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

Reply via email to