delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/19/18:11:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 19 Apr 2002 16:41:34 -0400 (EDT)
From: Chris Metcalf <metcalf AT incert DOT com>
To: cygwin AT cygwin DOT com
Subject: vim doesn't quite get backslash-separated paths right
Message-ID: <Pine.LNX.4.44.0204191635350.6614-100000@rd.incert.com>
MIME-Version: 1.0

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 AT incert DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019