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: <000401c0ddc3$1edec110$d938a8c0@Hadfield> From: "Mark Hadfield" To: "Kevin Schnitzius" Cc: "Cygwin Mailing List" References: Subject: Re: cygwin interaction with explorer Date: Wed, 16 May 2001 16:46:06 +1200 Organization: NIWA MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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