delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.1 required=5.0 tests=BAYES_00,MIME_CHARSET_FARAWAY |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B8D5C9D.9040906@gmail.com> |
Date: | Tue, 02 Mar 2010 18:44:45 +0000 |
From: | Dave <kilroyd AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.23 (X11/20091126) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor. |
References: | <40399aed1003020442q4f49b811h41bd4064072762a5 AT mail DOT gmail DOT com> |
In-Reply-To: | <40399aed1003020442q4f49b811h41bd4064072762a5@mail.gmail.com> |
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 |
Note-from-DJ: | This may be spam |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |