delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/30/12:18:59

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
content-class: urn:content-classes:message
Subject: RE: How does cygwin map / to c:/cygwin?
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Date: Mon, 30 Sep 2002 17:15:12 +0100
Message-ID: <A25942DDD06FC94E8AF6AF0B4CD6D60F0A7814@prime.europlacer.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "John Carlyle- Clarke" <john DOT cc AT europlacer DOT co DOT uk>
To: "Jeff Perry" <jsp AT mail DOT utexas DOT edu>
Cc: "Cygwin List (E-mail)" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8UGIxC21874


> -----Original Message-----
> From: Jeff Perry [mailto:jsp AT mail DOT utexas DOT edu]
> Sent: 27 September 2002 23:44
> To: cygwin AT cygwin DOT com
> Subject: How does cygwin map / to c:/cygwin?
> 
 
> When I type gvim /etc/passwd from bash, gvim comes up with an 
> empty file
> called passwd in c:/etc (which doesn't exist).  If I try to 
> write this file,
> gvim fails, which, of course, it should. (The gvim I'm using 
> is the one compiled for NT).

Other have explained why: here is my solution.  Put this in your ~/.bashrc:

function gvim { gvim.bat $(cygpath -w $*) ; }



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