X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: iB.Y1pyswBCVTHQwCHOxm.lpuw-- Message-ID: <4F3CF290.2040607@yahoo.es> Date: Thu, 16 Feb 2012 13:12:00 +0100 From: Emlio User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Can't edit crontab References: <4F3CEB27 DOT 8060004 AT yahoo DOT es> In-Reply-To: <4F3CEB27.8060004@yahoo.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. For example, if I > press the arrows I get characters such as A, B, C... the backspace key > doesn't work, and writing a cron line becomes a really hard (impossible) > task. > > 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. > > Is there any workaround I can do in order to edit the crontab with a > different application? > > Thanks in advance > > E Diaz > > > -- > 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 > Answering to myself I've just used notepad++ to write the cron commands and copypated it to the vi in cygwin. Not really classy but at least I can make it work. -- 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