Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "John Carlyle- Clarke" To: "Jeff Perry" Cc: "Cygwin List (E-mail)" Content-Transfer-Encoding: 8bit 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/