X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 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: <4F3D1000.50803@yahoo.es> Date: Thu, 16 Feb 2012 15:17:36 +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> <4F3CF561 DOT 6060309 AT yahoo DOT es> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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 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 the output of the above command give a clue? > No, not a clue. I get a line in which the "vi" chars appear as part of a larger word, but nothing to do with the editor. I tried with "vim" instead of "vi" too, but didn't work neither. In any case thanks a lot for the hint :) -- 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