delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/22/03:52:02

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: Mon, 22 Apr 2002 09:50:17 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: vim doesn't quite get backslash-separated paths right
Message-ID: <20020422095017.A19421@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0204191635350 DOT 6614-100000 AT rd DOT incert DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0204191635350.6614-100000@rd.incert.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Apr 19, 2002 at 04:41:34PM -0400, Chris Metcalf wrote:
> 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.

Use the cygpath utility then.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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