[nSLUG] crontab help

Rick Burdon burdonrc at gmail.com
Fri Nov 2 13:53:56 ADT 2007


Try changing you defaul editor to vi or nano. Some examples below

rick at u-top-1:~$ which vi
/usr/bin/vi
rick at u-top-1:~$ export EDITOR=/usr/bin/vi
rick at u-top-1:~$ set | grep EDITOR
EDITOR=/usr/bin/vi
_=EDITOR
rick at u-top-1:~$ which nano
/usr/bin/nano
rick at u-top-1:~$ export EDITOR=/usr/bin/nano
rick at u-top-1:~$ set | grep EDITOR
EDITOR=/usr/bin/nano
_=EDITOR
rick at u-top-1:~$ echo $EDITOR
/usr/bin/nano
rick at u-top-1:~$


Rick

On Nov 2, 2007 1:22 PM, Vikram Chhatre <crypticlineage at gmail.com> wrote:

> Tyler Smith wrote:
> > On Fri, Nov 02, 2007 at 09:49:26AM -0600, Vikram Chhatre wrote:
> >
> >> Typing $EDITOR at the shell prompt, does not list the editor.  It
> >> generates following message:
> >>
> >> "skipping 5 old session files"
> >>
> >>
> >
> > Try this instead:
> >
> > echo $EDITOR
> >
> > Tyler
> >
> >
> That returns "emacs", but when I try $crontab -e, it generates the
> message in the original post.
>
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20071102/bc5cab19/attachment.html>


More information about the nSLUG mailing list