This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7 - Odd behaviour with vim


On Feb 10 10:05, Chris Sutcliffe wrote:
> >> When edit a file (via :e <filename>) with vim under Cygwin 1.7 the
> >> first time I'm opened a cygwin terminal (mintty), there is a message
> >> that briefly pops up and seems to be overwritten by the vim display.
> >> In the command bar I'm left with:
> >>
> >> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> >
> > -v, please.  You are left with... what?
> 
> I'm literally left with that url string
> "http://cygwin.com/cygwin-ug-net/using.html#using-pathnames"; in the
> command bar.

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.

Bottom line: Don't use DOS paths.

Second bottom line: It would be interesting to learn why the message
has been printed, *iff* you didn't use a DOS path somewhere explicitely.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]