vim doesn't quite get backslash-separated paths right

Chris Metcalf metcalf@incert.com
Fri Apr 19 13:42:00 GMT 2002


If you run vim with "c:\temp\foo" it complains

  E303: Unable to open swap file for "c:\temp\foo", recovery impossible

However, it then manages to correctly write the file out to the indicated
path.  Looking at strace shows it trying to open a file named
/tmp/c:\temp\foo.swp; it thinks the whole path is a relative name in the
current directory.

This is a problem if you set $EDITOR to vim and then have non-Cygwin 
programs invoke vim.

                Chris Metcalf -- InCert Software -- 1 (617) 621 8080
                metcalf@incert.com -- http://www.incert.com/~metcalf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list