Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 25 Oct 2002 14:50:24 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Shing-Fat Fred Ma <fma@doe.carleton.ca>
cc: cygwin@cygwin.com
Subject: Re: gvimdiff fails on network drive
In-Reply-To: <3DB98C80.86B36F8C@doe.carleton.ca>
Message-ID: <Pine.GSO.4.44.0210251443380.13770-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 25 Oct 2002, Shing-Fat Fred Ma wrote:

> Hello,
>
> I'm using cygwin-1.3.12-4 on WinME.  I'm
> using gvim 6.0 to diff a pair of files residing
> on a mounted network drive i.e. /SomeUser
> is a mount pointing to \\RemoteSunBox\SomeUser.
> Read/write access to /SomeUser is no problem.
> Using "gvim -d" on localfiles is no problem.
> But using "gvim -d" on files residing on /SomeUser
> generates the error E97 (can't create diff files).
>
> I thought it might be a path name problem,
> though both invocations would use unix
> style path names.  But just to see, I tried
> putting this in _vimrc (courtesy Machitani-san):
>
> > if has("unix")
> >   set shell=/bin/bash
> > elseif has("win32")
> > " set shell=c:/cygwin/bin/bash
> >   set shell=c:\\cygwin\\bin\\bash.exe
> >   set shellcmdflag=-c
> >   set shellpipe=2>&1\|\ tee
> >   set shellslash
> > endif
>
> But the problem persisted.  Just as a note,
> my gvim is invoked by the bash function
>
> {
>     ( unset SHELL;
>     /c/Program\ Files/vim/vim60/gvim $* ) &
> }
>
> because gvim's diff *never* worked prior
> to the "unset SHELL".
>
> Thanks for any suggestions.
>
> Fred

gvim is not a Cygwin application, and thus does not understand Cygwin
mounts or unix-style paths.

Try changing your gvim function as suggested in
http://sources.redhat.com/ml/cygwin/2002-10/msg00179.html and see if it
helps.  BTW, this came up as one of the first matches in a search for
"gvim" on this mailing list (October archive).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

