editing crontab using gvim
Gary Johnson
garyjohn@spocom.com
Tue Jan 27 08:05:00 GMT 2009
On 2009-01-27, Shai wrote:
> On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp wrote:
> >
> > On Tue, Jan 29 2008, Shai wrote:
> > > 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.
> 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)
Execute
:helpgrep crontab
You should find 7 hits that will direct you to discussions of using
vim as the editor for "crontab -e".
HTH,
Gary
--
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/
More information about the Cygwin
mailing list