X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Fri, 17 Feb 2012 01:26:08 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <174225779.20120217012608@mtu-net.ru> To: Emlio , cygwin AT cygwin DOT com Subject: Re: Can't edit crontab In-Reply-To: <4F3D0ED8.6000103@yahoo.es> References: <4F3CEB27 DOT 8060004 AT yahoo DOT es> <4F3CF561 DOT 6060309 AT yahoo DOT es> <1163782329 DOT 20120216175802 AT mtu-net DOT ru> <4F3D0ED8 DOT 6000103 AT yahoo DOT es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 AT freemail DOT 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