www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/02/14:49:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_00,MIME_CHARSET_FARAWAY,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 2 Mar 2010 20:42:35 +0800
Message-ID: <40399aed1003020442q4f49b811h41bd4064072762a5@mail.gmail.com>
Subject: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.
From: wu andy <andywu DOT zh AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

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:\=CE=D2=B5=
=C4=B9=A4=D7=F7'"
cygwin warning:
  MS-DOS style path detected: /bin/xhere /bin/bash.exe 'd:\=E6=88=91=E7=9A=
=84=E5=B7=A5=E4=BD=9C'
  Preferred POSIX equivalent is: /bin/xhere /bin/bash.exe 'd:/=E6=88=91=E7=
=9A=84=E5=B7=A5=E4=BD=9C'
  CYGWIN environment variable option "nodosfilewarning" turns off this warn=
ing.
  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:\=CE=D2=B5=C4=B9=A4=D7=F7': No s=
uch file or directory


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.

--
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

- Raw text -


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