From owner-freebsd-bugs Wed Jul 10 12:20:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C64737B400 for ; Wed, 10 Jul 2002 12:20:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2894843E64 for ; Wed, 10 Jul 2002 12:20:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6AJK4JU027745 for ; Wed, 10 Jul 2002 12:20:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6AJK4W1027744; Wed, 10 Jul 2002 12:20:04 -0700 (PDT) Date: Wed, 10 Jul 2002 12:20:04 -0700 (PDT) Message-Id: <200207101920.g6AJK4W1027744@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Jin Guojun [DSD]" Subject: Re: bin/23489: tcsh fails to do file completion on non-English characters Reply-To: "Jin Guojun [DSD]" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/23489; it has been noted by GNATS. From: "Jin Guojun [DSD]" To: Jonathan Chen Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/23489: tcsh fails to do file completion on non-English characters Date: Wed, 10 Jul 2002 12:11:27 -0700 Jonathan Chen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I cannot reproduce this on my 4.6 -STABLE system: > > cxterm > > setenv LANG zh_TW.Big5 > setenv LC_ALL zh_TW.Big5 > > touch aa <-- works > touch aa <-- works > touch <-- works > > Let me know if this is still a problem for you. It is still a problem under 4.6. At prompt 115, what I did here is copy and paste. The tcsh does not know how to interpret the unicode. It decodes the first byte as some help flag, and put "." for rest characters. Notice that the file is in chinese, which is not shown properly on the screen. There is nothing shown on the first line of [115], but what happened here was pasting, which failed. -rw------- 1 html advdev 26547 Dec 19 1998 ºÎÈÕ¾ýÔÙÀ´.mid [115] : cat No help file for cat [115] : cat ....mid cat: ....mid: No such file or directory [116] : uname -sr FreeBSD 4.6-RELEASE -- ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov --- Distributed Systems Department http://www.itg.lbl.gov/~jin M/S 50B-2239 Ph#:(510) 486-7531 Fax: 486-6363 Lawrence Berkeley National Laboratory, Berkeley, CA 94720 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message