X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.8 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: <4F3E064B.7030707@yahoo.es>
Date: Fri, 17 Feb 2012 08:48:27 +0100
From: Emlio <uc3709@yahoo.es>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Can't edit crontab
References: <4F3CEB27.8060004@yahoo.es> <CE9C056E12502146A72FD81290379E9A2C4FBFD2@ENFIRHMBX1.datcon.co.uk> <4F3CF561.6060309@yahoo.es> <1163782329.20120216175802@mtu-net.ru> <4F3D0ED8.6000103@yahoo.es> <174225779.20120217012608@mtu-net.ru>
In-Reply-To: <174225779.20120217012608@mtu-net.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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 had tried similar stuff with pipelines (yes, it's called desperation),
>> but hadn't think of this idea.
> Then export your variable in ~/.bashrc
>
> And please don't CC list messages to me personally.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@freemail.ru) 17.02.2012,<01:03>
>
> Sorry for my terrible english...
>
>
> --
> 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
>
Thanks, the export thing was what I as missing.

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

