This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: How does cygwin map / to c:/cygwin?
- 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>
- Date: Mon, 30 Sep 2002 17:15:12 +0100
- Subject: RE: How does cygwin map / to c:/cygwin?
> -----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/