Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: svn completion under Cygwin



On Fri, 19 Sep 2008 12:32:25 +0200
Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx> wrote:
>  Sorry, I couldn't find anything about it at 
> 
> 	http://www.zsh.org/mla/workers/2008/threads.html
> 
> and I also have no idea how to make Cygwin to translate the Windows-style
> filenames to POSIX ones automatically (and to be honest would be rather
> surprised if it were possible). Could you have meant using cygpath to do
> the conversion instead of a simple tr?

No, it's internal to the programme.  We already have the following code,

/**/
mod_export void
cygwin_premain0 (int argc, char **argv, void *myself)
{
    static struct __cygwin_perfile pf[] =
    {
        {"", O_RDONLY | O_TEXT},
        {NULL, 0}
    };
    cygwin_internal (CW_PERFILE, pf);
}

to do something of the kind for some files opened by the shell, but it
apparently doesn't cover everything we might need.  That's all I know on
the subject.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author