Re: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Christopher Faylor
On Mon, Apr 22, 2002 at 02:52:52PM -0700, Michael A Chase wrote: >On Mon, 22 Apr 2002 17:28:32 -0400 Christopher Faylor <[EMAIL PROTECTED]> wrote: > >> On Mon, Apr 22, 2002 at 02:24:09PM -0700, Michael A Chase wrote: >> >On Mon, 22 Apr 2002 15:26:36 -0400 Christopher Faylor >> <[EMAIL PROTECTED]>

Re: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Michael A Chase
On Mon, 22 Apr 2002 17:28:32 -0400 Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Apr 22, 2002 at 02:24:09PM -0700, Michael A Chase wrote: > >On Mon, 22 Apr 2002 15:26:36 -0400 Christopher Faylor > <[EMAIL PROTECTED]> wrote: > >>On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wr

Re: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Christopher Faylor
On Mon, Apr 22, 2002 at 02:24:09PM -0700, Michael A Chase wrote: >On Mon, 22 Apr 2002 15:26:36 -0400 Christopher Faylor <[EMAIL PROTECTED]> wrote: >>On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote: >>>That sounds like something we can use. But lacking the manual page >>>it's a bit

Re: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Michael A Chase
On Mon, 22 Apr 2002 15:26:36 -0400 Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote: > >That sounds like something we can use. But lacking the manual page it's > >a bit difficult to know exactly how to call it. > > Can anyone post th

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Bram Moolenaar
Chris Metcalf wrote: > On Mon, 22 Apr 2002, Bram Moolenaar wrote: > > >cygwin_conv_to_posix_path(const char *win_path, char *posix_path); > > > > That sounds like something we can use. But lacking the manual page it's > > a bit difficult to know exactly how to call it. Also, can this func

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Chris Metcalf
On Mon, 22 Apr 2002, Bram Moolenaar wrote: > >cygwin_conv_to_posix_path(const char *win_path, char *posix_path); > > That sounds like something we can use. But lacking the manual page it's > a bit difficult to know exactly how to call it. Also, can this function > be used when the path is a

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Corinna Vinschen
On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote: > Corinna Vinschen wrote: > >#include > > > >cygwin_conv_to_posix_path(const char *win_path, char *posix_path); > > That sounds like something we can use. But lacking the manual page it's > a bit difficult to know exactly

RE: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Richard Campbell
>Can anyone post the man page for this for Bram? I'm away from my >windows machine right now, and can't do it. C:\>man cygwin_conv_to_posix_path CYGWIN_CONV_TO_POSIX_PATH(3) CYGWIN_CONV_TO_POSIX_PATH(3) SYNOPSIS extern "C" void cygwin_conv_to_posix_path (const char * p

Re: small inter-operability patch for vim 6.1.2 for cygwin

2002-04-22 Thread Christopher Faylor
On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote: >That sounds like something we can use. But lacking the manual page it's >a bit difficult to know exactly how to call it. Can anyone post the man page for this for Bram? I'm away from my windows machine right now, and can't do it.

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Bram Moolenaar
Corinna Vinschen wrote: > On Mon, Apr 22, 2002 at 08:35:50PM +0200, Bram Moolenaar wrote: > > I'm quite sure this is not a good solution. It's just waiting to fail > > in another place. The Unix code just isn't prepared for backslashes in > > a file name to be path separators, they are seen as

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Corinna Vinschen
On Mon, Apr 22, 2002 at 03:08:07PM -0400, Chris Metcalf wrote: > > Or better: Isn't there a cygwin trick for this already? > > Well, "cygpath -u PATH" will convert a Windows path to a Unix path. > However, this means you can't just set $EDITOR to a simple executable, > but have to walk it throu

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Corinna Vinschen
On Mon, Apr 22, 2002 at 08:35:50PM +0200, Bram Moolenaar wrote: > I'm quite sure this is not a good solution. It's just waiting to fail > in another place. The Unix code just isn't prepared for backslashes in > a file name to be path separators, they are seen as escaping the special > meaning of

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Chris Metcalf
Earlier, I wrote: > This small change fixes an interoperability problem with vim in Cygwin. > If the Cygwin vim is invoked by non-Cygwin aware tools, it may be passed > a backslash-separated path. Since vim is essentially Unix-built for > Cygwin, it doesn't realize it should recognize the backs

Re: small inter-operability patch for vim 6.1.2 for Cygwin

2002-04-22 Thread Bram Moolenaar
Chris Metcalf wrote: > This small change fixes an interoperability problem with vim in Cygwin. If > the Cygwin vim is invoked by non-Cygwin aware tools, it may be passed a > backslash-separated path. Since vim is essentially Unix-built for Cygwin, > it doesn't realize it should recognize the ba