delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/20/13:48:22

X-Spam-Check-By: sourceware.org
Message-ID: <4679682C.6030607@gmail.com>
Date: Wed, 20 Jun 2007 11:47:24 -0600
From: morgan gangwere <0 DOT fractalus AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, binluo AT w3china DOT cn
Subject: Re: A problem about Cygwin
References: <46617775 DOT 2090504 AT w3china DOT cn> <4677C92E DOT 9010801 AT byu DOT net>
In-Reply-To: <4677C92E.9010801@byu.net>
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Blake wrote:
> http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list.
> 
> According to W? on 6/2/2007 7:58 AM:
>> Dear Mr. Eric Blake,
> 
>> I am a Chinese student and I am using Cygwin. I have a problem when I
>> use the command 'ls -l'.
> 
>> I have uncommented the ~/.inputrc:
>> # Allow 8-bit input/output
>> set meta-flag on
>> set convert-meta off
>> set input-meta on
>> set output-meta on
>> set completion-ignore-case on
> 
>> and added follows into the ~/.bashrc:
>> export LC_ALL=zh_CN.GBK
>> export LANG=zh_CN.GBK
> 
>> alias ls='/bin/ls -hF --show-control-chars --color=tty'
> 
>> Then, when I use 'ls', Cygwin can display the Chinese character
>> correctly. But if I use 'ls -l', it appears some error like this:
>> $ ll
>> drwx------+ 3 luobin None 0 May 16 22:18 runtime-°śMn/
>> drwx------+ 21 ???????? ???????? 0 Jun 1 18:56 src/
> 
>> The appendix is the screen print. I expect you can help me. Thank you!
> 
> I'm removing the screen capture, but the difference was that the group and
> user names showed only "?" while filenames showed actual Chinese
> characters (rather than "?", as they were flattened to in the above
> display).  Do those user and group names actually contain Chinese
> characters, or is it just a case of your /etc/passwd and /etc/groups being
> out-of-date so that cygwin really does think they are "????????"?  With a
> quick glance at the ls source code, ls doesn't do anything special to
> non-ascii characters in group and user names.  So maybe you need to read
> up on the use of mkgroups and mkpasswd.
> 

the problem i see here is not the cygwin install but what windows is
telling Cygwin. I would assume that the windows install is set to have
pinyin input and chineese language settings as defaults?

i am sending this message to both the lists and the OP [original poster]
- -- if the op would send a blank email to cygwin-subscribe AT cygwin DOT com to
be added to the lists

(PS sorry if my mailer messed up the encoding... everything gets set to
ISO 8859 1)
- --
Just a Thought
Morgan Gangwere

For those who want my PGP key:
http://pengunassasin.is-a-geek.com/?page=pgp%20Key

******* Wisdom for the day *******
* Dont rawquote - it gives       *
*          spammers free bait!   *
**********************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFGeWgsCF9T/dUsmAgRAisVAKDMoqTPkF61N2ssiM43iOEdmpAawgCYzzRs
VEWvhg6aq5pyna1QueSdpQ==
=O+Rt
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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