This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7 - Odd behaviour with vim
On Feb 10 16:29, Corinna Vinschen wrote:
> On Feb 10 10:17, Chris Sutcliffe wrote:
> > > Uh, that explains it. The full message is
> > >
> > > MS-DOS style path detected: %s
> > > Preferred POSIX equivalent is: %s
> > > CYGWIN environment variable option "nodosfilewarning" turns off this warning.
> > > Consult the user's guide for more details about POSIX paths:
> > > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames\n");
> > >
> > > This message is only generated once per session and can be switched
> > > off entirely using the CYGWIN=nodosfilewarning setting.
> > > [...]
> > In vim I'm executing:
> >
> > :e /cygdrive/c/source/emerge/trunk/Source/emergeLib/main.cpp
> >
> > Could it be related to using /cygdive?
>
> I don't know. I can't reproduce this. What I do is
>
> - Start Menu -> Run -> mintty bash
> - ./vim
> - :e /cygdrive/c/autoexec.bat
>
> Nothing happens. If you have a chance to debug this it might help
> to find out why you see this message.
On second thought, is it possible that you're using a native vim as well
and so maybe have a vim rc file with DOS paths in it? Or an environment
variable containing a DOS path which is referred by both vims, as, say,
$VIM or $VIMRUNTIME?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/