This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cygwin interaction with explorer


That fixes it.  Thanks!

Kevin

 -----Original Message-----
From: 	Mark Hadfield [mailto:m.hadfield@niwa.cri.nz] 
Sent:	Wednesday, May 16, 2001 00:46
To:	Kevin Schnitzius
Cc:	Cygwin Mailing List
Subject:	Re: cygwin interaction with explorer

From: "Kevin Schnitzius" <kevin.schnitzius@citrix.com>
> I'd like vim to be the default action for txt, c, h, log, etc files.  So,
on
> my win2k machine, I set the default action to
>
> C:\cygwin\bin\vim.exe -u /usr/local/bin/dosrc "%1"
>
> This works great except if the file is on a remote server.  For example,
if
> the file is \\server\share\file.txt, vim will try to open
> \server\share\file.txt, which of course fails.

Try setting CYGWIN=noglob. This prevents Cygwin from fiddling with the file
names before it sends them to vim. In my experience this fiddling (globbing)
gives problems with \\server\share file names.

---
Mark Hadfield
m.hadfield@niwa.cri.nz  http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]