Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: Kevin Schnitzius To: "'Mark Hadfield'" Cc: Cygwin Mailing List Subject: RE: cygwin interaction with explorer Date: Wed, 16 May 2001 00:54:58 -0400 X-Mailer: Internet Mail Service (5.5.2650.21) That fixes it. Thanks! Kevin -----Original Message----- From: Mark Hadfield [mailto:m DOT hadfield AT niwa DOT cri DOT nz] Sent: Wednesday, May 16, 2001 00:46 To: Kevin Schnitzius Cc: Cygwin Mailing List Subject: Re: cygwin interaction with explorer From: "Kevin Schnitzius" > 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 DOT hadfield AT niwa DOT cri DOT 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