This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.
- From: Dave <kilroyd at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 02 Mar 2010 18:44:45 +0000
- Subject: Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.
- References: <40399aed1003020442q4f49b811h41bd4064072762a5@mail.gmail.com>
wu andy wrote:
> In cygwin 1.7.1, when I use "bash promt here" at a directory which's
> name contains unicode charactor, there's wrong. But it's right under
> cygwin 1.5.x.
>
> Below is my example.
> C:\Users\andy>C:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe 'd:\我的工作'"
> cygwin warning:
> MS-DOS style path detected: /bin/xhere /bin/bash.exe 'd:\???宸ヤ?'
> Preferred POSIX equivalent is: /bin/xhere /bin/bash.exe 'd:/???宸ヤ?'
> 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
> /usr/bin/bash: /bin/xhere /bin/bash.exe 'd:\我的工作': No such file or directory
This message is odd. It looks like bash is looking for the full string
"/bin/xhere /bin/bash.exe 'd:\xxxx'" instead of just "/bin/xhere"
That command is only used when the terminal is cmd.
Does anyone know whether the presence of unicode change the globbing
rules of cmd/cygwin/bash?
Also, is the d:\ within quotes later in the command erronously
triggering the nodosfile warning? I'm not expecting to see it here.
> It's right when I use :
>
> C:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe 'd:\home'"
>
> So, I think it's a problem. But I don't know how to resolve the
> problem. I also can't find andy information at the mail list. Does
> anyone know? Thanks.
Regards,
Dave.
chere maintainer.
--
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