Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 10:26 PM, Andrey Repin wrote: Greetings, Emlio! 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. $ EDITOR=nano crontab -e ? Yep, this worked! I

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:41 PM, Earnie Boyd wrote: On Thu, Feb 16, 2012 at 7:24 AM, Emlio wrote: 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. set | grep -i vi Does

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:58 PM, Andrey Repin wrote: Greetings, Emlio! 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. $ EDITOR=nano crontab -e ? -- WBR, Andrey Rep

Re: Can't edit crontab

2012-02-16 Thread Emlio
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 install

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 12:40 PM, Emlio wrote: Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing "insert" the keyboard doesn't work properly. Fo

Can't edit crontab

2012-02-16 Thread Emlio
Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing "insert" the keyboard doesn't work properly. For example, if I press the arrows I get characters such as A, B, C..