delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/14/10:20:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DA70298.3040601@redhat.com>
Date: Thu, 14 Apr 2011 08:20:08 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Spurious warnings about MS-DOS paths
References: <4DA66596 DOT 3000107 AT ece DOT cmu DOT edu>
In-Reply-To: <4DA66596.3000107@ece.cmu.edu>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

--------------enigC3D02CBC42C5475386D9FDCE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/13/2011 09:10 PM, Ryan Johnson wrote:
> Hi all,
>=20
> A recent cygwin update has started spewing warnings such as the
> following when I do tab completion on a path containing spaces:
>> $ cd ~/Home/Documents/Pcygwin warning:
>>   MS-DOS style path detected: ~/Home/Documents/PC\ reviews\ 2011
>>   Preferred POSIX equivalent is: ~/Home/Documents/PC/ reviews/ 2011
>>   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
>=20
> Would it be possible to make the check exclude common character escapes?

No, but it probably is an upstream bug the bash-completion package worth
reporting and fixing.  Can you use 'set -vx' just before typing the
command that triggers the message, so I can see which command in the
completion function is insufficiently quoting the pathname such that a
glob completion is being inappropriately attempted on escape characters?

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigC3D02CBC42C5475386D9FDCE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNpwKYAAoJEKeha0olJ0NqhXcH/iB77BmreGNgI0cKh2n1ZiK6
UXUSZGbndW1c03HjEQlzck11RSqBx0lX/XI3bVUqlA2EvbD+oCRx0YRjOxBUIki4
3orosd6iAobSqyXZbqKxNwiGRBuw5RyPl+zm/v79S9fbZiAEUp7ey12m9Dlzlkwq
E7qeL+exyCDsWSkjJb17F41q2ptZq9Oo8FQm50ocHyXo/bzUIH6i+Uq8Yo37pEiL
+PCfa+qh3Od3+zsdAtHHyF3Yhjks9ZJqE5GeAIl8t0wctlEbPqd8EDdvE09v8aF5
6qVEFOll5N3XlTUYnZiTyOK2Yn9jq2xZctcVN+C4zImD0lKXrfkLsvAs6OZHc3E=
=PV4k
-----END PGP SIGNATURE-----

--------------enigC3D02CBC42C5475386D9FDCE--

- Raw text -


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