[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trouble with cron



cothrige wrote:
* Johannes Wiedersich (johannes@physik.blm.tu-muenchen.de) wrote:

As said by michael in another reply, the alternatives are overriden by EDITOR or VISUAL.

Yes, that would make sense, but I had unset these in trying to get vi
to work with crontab.  I guess I had assumed that vi would be the
standard editor and thought that commenting out the variables in my
.bashrc and then sourcing that would bring up vi or vim.  But, emacs
still came up.  In looking back it would seem that nano should have.


Hello,

I am on Slackware 10.1 box right now and the man page for crontab states that crontab -e will use /usr/bin/vi or VISUAL. It does not mention EDITOR. On this box if VISUAL is not set, vi is run. If I set VISUAL to something else I get that.

Maybe strace can help to find out what crontab actually does to get emacs started. And maybe first check that VISUAL is indeed unset.

Best regards,

Serban



Reply to: