Can't edit crontab

Emlio uc3709@yahoo.es
Thu Feb 16 12:25:00 GMT 2012


On 02/16/2012 01:14 PM, Adam Dinwoodie wrote:
> On 16 February 2012 at 11:40, Emlio wrote:
>> I've tried to set the env variable EDITOR as nano, in order to use this
>> editor instead, but the trick doesn't seem to work in cygwin.
> This works fine for me.  Are you sure you have nano installed? What's the
> result of running `which nano`?
>
Yep, nano is installed:

$ which.exe nano
/usr/bin/nano


The way I set the EDITOR var to nano is:

$ EDITOR=nano;

And if i type "EDITOR" nano editor is opened. But when I run crontab -e 
I get the crontab edited by vi(m) again.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list