delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/16/00:54:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <m DOT hadfield AT niwa DOT cri DOT nz>
To: "Kevin Schnitzius" <kevin DOT schnitzius AT citrix DOT com>
Cc: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
References: <FFC7351A4632D411820000508B2E1C2C01CB12A9 AT hqexch01 DOT citrix DOT com>
Subject: Re: cygwin interaction with explorer
Date: Wed, 16 May 2001 16:46:06 +1200
Organization: NIWA
MIME-Version: 1.0
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" <kevin DOT schnitzius AT citrix DOT 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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019