Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
Subject: RE: How does cygwin map / to c:/cygwin?
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
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.cc@europlacer.co.uk>
To: "Jeff Perry" <jsp@mail.utexas.edu>
Cc: "Cygwin List (E-mail)" <cygwin@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8UGIxC21874



> -----Original Message-----
> From: Jeff Perry [mailto:jsp@mail.utexas.edu]
> Sent: 27 September 2002 23:44
> To: cygwin@cygwin.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/

