On Oct 13 14:06, Gary Johnson wrote:
> I thought the purpose of Cygwin was to provide a Linux-like 
> environment for applications, so that, for example, one could simply 
> recompile under Cygwin an application written for Linux and not have 
> to rewrite the file-handling routines to recognize DOS file names.
> That's the purpose of the cygdrive directory, is it not?
> 
> It seems to me that if "DOS paths do work, usually," it's because 
> the application was written to deal with them or it never looks at 
> any file names, but simply hands them whole to the Cygwin file I/O 
> API.

You're right.  But vim is not a Linux application.  It tries hard to
accomodate many non-Linux systems like OS/2, Windows, VMS, Amiga and,
fwiw, any Unix flavor.

DOS paths are supported in vim anyway, and even os_unix.c makes
concessions to DOS paths in the OS2 case already.  That's why I think
adding a Cygwin case to support DOS and POSIX paths simultaneously
would be ok.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

Reply via email to