delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/16/09:13:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: iB.Y1pyswBCVTHQwCHOxm.lpuw--
Message-ID: <4F3D0ED8.6000103@yahoo.es>
Date: Thu, 16 Feb 2012 15:12:40 +0100
From: Emlio <uc3709 AT yahoo DOT es>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0
MIME-Version: 1.0
To: Andrey Repin <cygwin AT cygwin DOT com>
CC: Andrey Repin <anrdaemon AT freemail DOT ru>
Subject: Re: Can't edit crontab
References: <4F3CEB27 DOT 8060004 AT yahoo DOT es> <CE9C056E12502146A72FD81290379E9A2C4FBFD2 AT ENFIRHMBX1 DOT datcon DOT co DOT uk> <4F3CF561 DOT 6060309 AT yahoo DOT es> <1163782329 DOT 20120216175802 AT mtu-net DOT ru>
In-Reply-To: <1163782329.20120216175802@mtu-net.ru>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: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 Repin (anrdaemon AT freemail DOT ru) 16.02.2012,<17:54>
>
> Sorry for my terrible english...
>
Yep, this worked!

I had tried similar stuff with pipelines (yes, it's called desperation), 
but hadn't think of this idea.

Thanks a lot

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019