On Sat 10 Mar 2007 09:19:24 NZDT +1300, Nick Rout wrote:

> crontab -e inherits the EDITOR variable from your environment. If you 
> want to use a different editor, do something like:
> 
> EDITOR=/usr/bin/nano crontab -e

Actually, no. That's what it should be doing because it starts an editor
to modify a file, but it doesn't. It uses VISUAL, which is the program
used to display a read-only file. The reason for crontab using VISUAL
instead of EDITOR must be somewhere in the mist of unix time.

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to