delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/25/16:07:13

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
Message-ID: <3DB9A459.D5A340A0@doe.carleton.ca>
Date: Fri, 25 Oct 2002 16:06:49 -0400
From: Shing-Fat Fred Ma <fma AT doe DOT carleton DOT ca>
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.editors
To: Vince Hoffman <Vince DOT Hoffman AT uk DOT circle DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: gvimdiff fails on network drive
References: <3500515B75D9D311948800508BA379559508CC AT EX-LONDON>

Vince Hoffman wrote:

> Gvim isnt linked to cygwin1.dll so it wont see cygwin mount points.

Vince,

I understand your explanation, and it sounds
like it is the cause.  But why am I able to open
the two files, but not diff them?  When I use
"gvim -dR", the two files open but just don't
diff.  (I first cd to the remote directory via
the mount point).

Fred

-------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada     K1S 5B6
fma AT doe DOT carleton DOT ca
===========================================





> > -----Original Message-----
> > From: Shing-Fat Fred Ma [mailto:fma AT doe DOT carleton DOT ca]
> > Sent: 25 October 2002 19:25
> > To: cygwin AT cygwin DOT com
> > Subject: gvimdiff fails on network drive
> >
> >
> > 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


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