X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 	tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Toby Allsopp <Toby.Allsopp@navman.co.nz>
Subject:  Re: editing crontab using gvim
Date:  Wed, 28 Jan 2009 13:00:22 +1300
Lines: 39
Message-ID:  <873af4cnah.fsf@nav-akl-pcn-343.mitacad.com>
References:  <e3edb0fa0801282320l3a75ca19l70a62dddaf8bfd5b@mail.gmail.com> 	<87odb45sh5.fsf@nav-akl-pcn-343.mitacad.com> 	<e3edb0fa0901262134m69ccb653vce54799b006eb65b@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
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
Note-from-DJ: This may be spam

On Tue, Jan 27 2009, Shai wrote:

> On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp <XXX@XXX> wrote:

Please don't quote email addresses on this list.  See
http://www.cygwin.com/acronyms/#PCYMTNQREAIYR.

Also, if you'd waited two more days it would have been a bit funnier.

>> On Tue, Jan 29 2008, Shai wrote:
>>
>> > Hi,
>> >
>> > I have gvim installed and when I do:
>> > $ crontab -e
>> > gvim opens up my crontab.
>> >
>> > But, it opens it as readonly and saving it requires wq! but then when
>> > it exits, I see:
>> > $ crontab.exe -e
>> > crontab: no changes made to crontab
>>
>> EDITOR="gvim -f"
>>
>> Without the -f, gvim runs in the background and crontab see it exit
>> immediately without making any changes.
>>
>> Regards,
>> Toby.
>
> Hi Toby,
>
> If I use your method, I get this when I try and save the file in gvim:
> E45: 'readonly' option is set (add ! to override)

I'm guessing this probably has something to do with permissions in
/tmp.  I suggest you read the User's Guide and FAQ and look into it.

Toby.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

