cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.
Dave
kilroyd@googlemail.com
Tue Mar 2 18:45:00 GMT 2010
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
More information about the Cygwin
mailing list