delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/10/10:14:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Feb 2009 16:13:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7 - Odd behaviour with vim
Message-ID: <20090210151332.GT5416@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2bf229d30902100655j4e0550d3q3f830b7229a2160e AT mail DOT gmail DOT com> <20090210150322 DOT GS5416 AT calimero DOT vinschen DOT de> <2bf229d30902100705x3ec552c6p2114a2f42b3b5f48 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <2bf229d30902100705x3ec552c6p2114a2f42b3b5f48@mail.gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019