On Oct 11 17:56, Frank Fesevur wrote: > At 10-10-2006 10:34, Corinna Vinschen wrote: > >I have updated the version of vim on cygwin.com to 7.0.122-1. > > > >This is an update to the latest patchlevel 122. Cygwin Vim still builds > >from the vanilla sources. > > I'm still having problems editing /etc/hosts. Also see my earlier report > in http://cygwin.com/ml/cygwin/2006-06/msg00277.html > > It probably is because /etc/hosts is a symlink. It is not a major > problem, but a but annoying.
In my case it's a symlink, too and I don't have problems editing it. The "Cannot create swap file" message is often an indicator that the directory in which vim tries to write the swap file is read-only. See ":help directory" and ":set dir". Note especially the meaning of the single dot path "." in this variable. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/