* Spurious warnings about MS-DOS paths
@ 2011-04-14 9:09 Ryan Johnson
2011-04-14 12:05 ` Christopher Faylor
2011-04-14 18:07 ` Eric Blake
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Johnson @ 2011-04-14 9:09 UTC (permalink / raw)
To: cygwin
Hi all,
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
Would it be possible to make the check exclude common character escapes?
Regards,
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spurious warnings about MS-DOS paths
2011-04-14 9:09 Spurious warnings about MS-DOS paths Ryan Johnson
@ 2011-04-14 12:05 ` Christopher Faylor
2011-04-14 18:07 ` Eric Blake
1 sibling, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2011-04-14 12:05 UTC (permalink / raw)
To: cygwin
On Wed, Apr 13, 2011 at 11:10:14PM -0400, Ryan Johnson wrote:
>Hi all,
>
>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
>
>Would it be possible to make the check exclude common character
>escapes?
No. If a backslash has gotten to the filesystem layer which is
reporting this then something is going wrong. Cygwin can't process a
file specification with a backslash as anything but a MS-DOS path.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spurious warnings about MS-DOS paths
2011-04-14 9:09 Spurious warnings about MS-DOS paths Ryan Johnson
2011-04-14 12:05 ` Christopher Faylor
@ 2011-04-14 18:07 ` Eric Blake
2011-04-16 7:27 ` Ryan Johnson
1 sibling, 1 reply; 4+ messages in thread
From: Eric Blake @ 2011-04-14 18:07 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]
On 04/13/2011 09:10 PM, Ryan Johnson wrote:
> Hi all,
>
> 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
>
> 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?
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: Spurious warnings about MS-DOS paths
2011-04-14 18:07 ` Eric Blake
@ 2011-04-16 7:27 ` Ryan Johnson
0 siblings, 0 replies; 4+ messages in thread
From: Ryan Johnson @ 2011-04-16 7:27 UTC (permalink / raw)
To: Eric Blake; +Cc: cygwin
On 2:59 PM, Eric Blake wrote:
> On 04/13/2011 09:10 PM, Ryan Johnson wrote:
>> Hi all,
>>
>> 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
>> 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?
I don't have bash-completion(s) installed.
If set -vx would be useful with vanilla bash, I'm happy to try it, though.
Regards,
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-15 23:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14 9:09 Spurious warnings about MS-DOS paths Ryan Johnson
2011-04-14 12:05 ` Christopher Faylor
2011-04-14 18:07 ` Eric Blake
2011-04-16 7:27 ` Ryan Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).