This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't edit crontab


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]