From owner-freebsd-i18n Sun Jan 6 10:43: 7 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id 4E82F37B9F9; Sun, 6 Jan 2002 10:39:24 -0800 (PST) Received: from ark.cris.net (ark.cris.net [212.110.128.68]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id UAA56528; Sun, 6 Jan 2002 20:39:15 +0200 (EET) Received: (from phantom@localhost) by ark.cris.net (8.11.1/8.11.1) id g06Icje66905; Sun, 6 Jan 2002 20:38:45 +0200 (EET) Date: Sun, 6 Jan 2002 20:38:45 +0200 From: Alexey Zelkin To: Hiroo Ono Cc: Hajimu UMEMOTO , Mark Peek , Makoto Matsushita , i18n@freebsd.org, stable@freebsd.org Subject: zh_CN support in tcsh (was: Re: Fwd: Re: FreeBSD ja_JP.eucJP and ko_KR.eucKR) Message-ID: <20020106203845.A64542@ark.cris.net> References: <20020106003405.A26410@ark.cris.net> <20020106141149.A20367@ark.cris.net> <20020106162002.B35822@ark.cris.net> <20020106162739.D35822@ark.cris.net> <86lmfbzcrs.wl@chrysanthe.oikumene.gcd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <86lmfbzcrs.wl@chrysanthe.oikumene.gcd.org>; from hiroo@oikumene.gcd.org on Mon, Jan 07, 2002 at 01:04:39AM +0900 X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, [Cc'ed to -stabel and -i18n to grow chance to find potential testers!] On Mon, Jan 07, 2002 at 01:04:39AM +0900, Hiroo Ono wrote: > > phantom> So, zh_CN.{EUC,eucCN} support is required for Chinese users even w/o > > phantom> nls catalogs ? > > > > Yes, I think it is required for command line editing. However, I > > dunno why it is not supported so far. Since I'm not familar with > > Chinese, I dunno if it will actually work for Chinese. > > I am not familiar with Chinese and Korean also. > After what I have heard, EUC-CN (zh_CN.eucCN) can be edited without > problem with an editor that deal with EUC-JP (ja_JP.eucJP) and > Chinese fonts. So, I think there is no problem adding zh_CN.eucCN > support to tcsh, but we may ask someone using the locale to confirm > it. I will write an e-mail to stable and i18n on this issue. I've extended patch for tcsh which includes autodetection of eucXX like locales for ja_JP and ko_JR. This patch includes detection of alias for ja_JP.SJIS (ja_JP.Shift_JIS) locale and *most important* detection of Chinese EUC locale (zh_CN.EUC and zh_CN.eucCN) in same manner as Japanese and Korean. It would be nice if someone familiar with Chinese check original version of tcsh (chinese support) and with this patch and notice me any improvement/problems in results :-) Index: sh.set.c =================================================================== RCS file: /home/cvs/freebsd/src/contrib/tcsh/sh.set.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 sh.set.c --- sh.set.c 5 Sep 2001 17:49:31 -0000 1.1.1.4 +++ sh.set.c 6 Jan 2002 18:10:19 -0000 @@ -1212,8 +1212,10 @@ } dspmt[] = { { STRLANGEUCJP, STRKEUC }, { STRLANGEUCKR, STRKEUC }, + { STRLANGEUCZH, STRKEUC }, { STRLANGEUCJPB, STRKEUC }, { STRLANGEUCKRB, STRKEUC }, + { STRLANGEUCZHB, STRKEUC }, { STRLANGSJIS, STRKSJIS }, { STRLANGSJISB, STRKSJIS }, { STRLANGBIG5, STRKBIG5 }, Index: tc.const.c =================================================================== RCS file: /home/cvs/freebsd/src/contrib/tcsh/tc.const.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 tc.const.c --- tc.const.c 5 Sep 2001 17:49:31 -0000 1.1.1.4 +++ tc.const.c 6 Jan 2002 18:17:21 -0000 @@ -134,7 +134,7 @@ /* STRLANGEUCJP,STRLANGEUCJPB = EUCJP Trap */ /* STRLANGEUCKR,STRLANGEUCKRB = EUCKR Trap */ /* STRLANGSJIS,STRLANGSJISB = SJIS Trap */ -# if defined(__FreeBSD__) || defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux) +# if defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux) Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; # if defined(__uxps__) @@ -156,44 +156,61 @@ Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', '\0' }; -# elif defined(linux) -Char STRLANGEUC[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', +Char STRLANGEUCZH[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; +# elif defined(__FreeBSD__) +Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P', '\0' }; -Char STRLANGEUCB[] = { 'j', 'a', '_', 'J', 'P', '.', 'u', 'j', 'i', 's', - '\0' }; +Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; +Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', + 'R', '\0' }; +Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; +Char STRLANGEUCZH[] = { 'z', 'h', '_', 'C', 'N', '.', 'e', 'u', 'c', 'C', + 'N', '\0' }; +Char STRLANGEUCZHB[] = { 'z', 'h', '_', 'C', 'N', '.', 'E', 'U', 'C', '\0' }; Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', '\0' }; -Char STRLANGSJISB[] = { '\0' }; -Char STRLANGBIG5[] = { '\0' }; +Char STRLANGSJISB[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'h', 'i', 'f', + 't', '_', 'J', 'I', 'S', '\0' }; +Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', + '\0' }; # elif defined(__uxpm__) Char STRLANGEUCJP[] = { 'j', 'a', 'p', 'a', 'n', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', 'r', 'e', 'a', '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # elif defined(SOLARIS2) Char STRLANGEUCJP[] = { 'j', 'a', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { 'j', 'a', 'p', 'a', 'n', 'e', 's', 'e', '\0' }; Char STRLANGEUCKRB[] = { 'k', 'o', 'r', 'e', 'a', 'n', '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # elif defined(hpux) Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P' }; Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', 'R' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # else Char STRLANGEUCJP[] = { '\0' }; Char STRLANGEUCKR[] = { '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Sun Jan 6 15: 2:15 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from mail503.nifty.com (mail503.nifty.com [202.248.37.211]) by hub.freebsd.org (Postfix) with ESMTP id BC4FD37B419 for ; Sun, 6 Jan 2002 15:02:10 -0800 (PST) Received: from mail.oikumene.gcd.org by mail503.nifty.com (8.11.6+3.4W/3.7W-09/06/01) with SMTP id g06MrLi08728 for ; Mon, 7 Jan 2002 07:53:21 +0900 Received: (qmail 10868 invoked from network); 6 Jan 2002 22:53:20 -0000 Received: from chrysanthe.oikumene.gcd.org (192.168.0.12) by mail.oikumene.gcd.org with SMTP; 6 Jan 2002 22:53:20 -0000 Date: Mon, 07 Jan 2002 07:53:14 +0900 Message-ID: <86k7uvytut.wl@chrysanthe.oikumene.gcd.org> From: Hiroo Ono To: Alexey Zelkin Cc: Hiroo Ono , Hajimu UMEMOTO , Mark Peek , Makoto Matsushita , i18n@freebsd.org, stable@freebsd.org Subject: Re: zh_CN support in tcsh (was: Re: Fwd: Re: FreeBSD ja_JP.eucJP and ko_KR.eucKR) In-Reply-To: <20020106203845.A64542@ark.cris.net> References: <20020106003405.A26410@ark.cris.net> <20020106141149.A20367@ark.cris.net> <20020106162002.B35822@ark.cris.net> <20020106162739.D35822@ark.cris.net> <86lmfbzcrs.wl@chrysanthe.oikumene.gcd.org> <20020106203845.A64542@ark.cris.net> User-Agent: Wanderlust/2.6.1 (Upside Down) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello, At Sun, 6 Jan 2002 20:38:45 +0200, Alexey Zelkin wrote: > I've extended patch for tcsh which includes autodetection of eucXX > like locales for ja_JP and ko_JR. This patch includes detection > of alias for ja_JP.SJIS (ja_JP.Shift_JIS) locale and *most important* > detection of Chinese EUC locale (zh_CN.EUC and zh_CN.eucCN) in same > manner as Japanese and Korean. > It would be nice if someone familiar with Chinese check original > version of tcsh (chinese support) and with this patch and notice > me any improvement/problems in results :-) For zh_CN.eucCN and zh_CN.EUC, it does the same thing as doing set dspmbyte=euc and it should allow input and editing of multibyte characters on the command line. As I do not use (and do not know) Chinese, I am not sure if it works with zh_CN.eucCN locale. Can anybody confirm that dspmbyte=euc feature works with zh_CN.eucCN (EUC-CN)? (i.e. can you input and edit zh_CN.eucCN characters on the tcsh command line when "set dspmbyte=euc"?) or does it anything wrong? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Sun Jan 6 16:58:49 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from cn.freebsd.org (cn.freebsd.org [202.103.100.254]) by hub.freebsd.org (Postfix) with ESMTP id E31FC37B404; Sun, 6 Jan 2002 16:58:32 -0800 (PST) Received: (from phj@localhost) by cn.freebsd.org (8.11.6/8.11.6) id g070wKX97746; Mon, 7 Jan 2002 08:58:20 +0800 (CST) (envelope-from phj) Date: Mon, 7 Jan 2002 08:58:20 +0800 (CST) From: Peng HaiJie Message-Id: <200201070058.g070wKX97746@cn.freebsd.org> To: i18n@freebsd.org Subject: Re: zh_CN support in tcsh Cc: hiroo@oikumene.gcd.org, mark@peek.org, matusita@jp.FreeBSD.org, phantom@freebsd.org, stable@freebsd.org, ume@mahoroba.org Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >hello, > >At Sun, 6 Jan 2002 20:38:45 +0200, >Alexey Zelkin wrote: > >> I've extended patch for tcsh which includes autodetection of eucXX >> like locales for ja_JP and ko_JR. This patch includes detection >> of alias for ja_JP.SJIS (ja_JP.Shift_JIS) locale and *most important* >> detection of Chinese EUC locale (zh_CN.EUC and zh_CN.eucCN) in same >> manner as Japanese and Korean. > > >> It would be nice if someone familiar with Chinese check original >> version of tcsh (chinese support) and with this patch and notice >> me any improvement/problems in results [:-)] > > >For zh_CN.eucCN and zh_CN.EUC, it does the same thing as doing > set dspmbyte=euc >and it should allow input and editing of multibyte characters on >the command line. As I do not use (and do not know) Chinese, I am >not sure if it works with zh_CN.eucCN locale. Can anybody confirm >that dspmbyte=euc feature works with zh_CN.eucCN (EUC-CN)? >(i.e. can you input and edit zh_CN.eucCN characters on the tcsh > command line when "set dspmbyte=euc"?) or does it anything wrong? Yes,I checked it ago,I can input chinese characters after "set dspmbyte=euc" in tcsh. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Tue Jan 8 6:33:17 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id 8FC4A37B404; Tue, 8 Jan 2002 06:33:10 -0800 (PST) Received: from ark.cris.net (ark.cris.net [212.110.128.68]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id QAA88115; Tue, 8 Jan 2002 16:32:42 +0200 (EET) Received: (from phantom@localhost) by ark.cris.net (8.11.1/8.11.1) id g08EWIv93876; Tue, 8 Jan 2002 16:32:18 +0200 (EET) Date: Tue, 8 Jan 2002 16:32:18 +0200 From: Alexey Zelkin To: Peng HaiJie Cc: i18n@freebsd.org, hiroo@oikumene.gcd.org, mark@peek.org, matusita@jp.FreeBSD.org, stable@freebsd.org, ume@mahoroba.org Subject: Re: zh_CN support in tcsh Message-ID: <20020108163218.A92765@ark.cris.net> References: <200201070058.g070wKX97746@cn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200201070058.g070wKX97746@cn.freebsd.org>; from phj@cn.freebsd.org on Mon, Jan 07, 2002 at 08:58:20AM +0800 X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, On Mon, Jan 07, 2002 at 08:58:20AM +0800, Peng HaiJie wrote: > >> I've extended patch for tcsh which includes autodetection of eucXX > >> like locales for ja_JP and ko_JR. This patch includes detection > >> of alias for ja_JP.SJIS (ja_JP.Shift_JIS) locale and *most important* > >> detection of Chinese EUC locale (zh_CN.EUC and zh_CN.eucCN) in same > >> manner as Japanese and Korean. > > > > > >> It would be nice if someone familiar with Chinese check original > >> version of tcsh (chinese support) and with this patch and notice > >> me any improvement/problems in results [:-)] > > > > > >For zh_CN.eucCN and zh_CN.EUC, it does the same thing as doing > > set dspmbyte=euc > >and it should allow input and editing of multibyte characters on > >the command line. As I do not use (and do not know) Chinese, I am > >not sure if it works with zh_CN.eucCN locale. Can anybody confirm > >that dspmbyte=euc feature works with zh_CN.eucCN (EUC-CN)? > >(i.e. can you input and edit zh_CN.eucCN characters on the tcsh > > command line when "set dspmbyte=euc"?) or does it anything wrong? > Yes,I checked it ago,I can input chinese characters after "set dspmbyte=euc" in > tcsh. Cool! I am going to submit my patch to Christos then. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Tue Jan 8 6:48:50 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 18E1937B402; Tue, 8 Jan 2002 06:48:42 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id g08EmZG58164; Tue, 8 Jan 2002 17:48:36 +0300 (MSK) (envelope-from ache) Date: Tue, 8 Jan 2002 17:48:32 +0300 From: "Andrey A. Chernov" To: Alexey Zelkin Cc: Peng HaiJie , i18n@FreeBSD.ORG, hiroo@oikumene.gcd.org, mark@peek.org, matusita@jp.FreeBSD.org, stable@FreeBSD.ORG, ume@mahoroba.org Subject: Re: zh_CN support in tcsh Message-ID: <20020108144831.GA58108@nagual.pp.ru> References: <200201070058.g070wKX97746@cn.freebsd.org> <20020108163218.A92765@ark.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020108163218.A92765@ark.cris.net> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I remember that very similar patch passed by when we discuss eucXX renaming in the l10n list. Maybe it worth to look at. Maybe tcsh maintainer already integrates it. On Tue, Jan 08, 2002 at 16:32:18 +0200, Alexey Zelkin wrote: > hi, > > On Mon, Jan 07, 2002 at 08:58:20AM +0800, Peng HaiJie wrote: > > > >> I've extended patch for tcsh which includes autodetection of eucXX > > >> like locales for ja_JP and ko_JR. This patch includes detection > > >> of alias for ja_JP.SJIS (ja_JP.Shift_JIS) locale and *most important* > > >> detection of Chinese EUC locale (zh_CN.EUC and zh_CN.eucCN) in same > > >> manner as Japanese and Korean. > > > > > > > > >> It would be nice if someone familiar with Chinese check original > > >> version of tcsh (chinese support) and with this patch and notice > > >> me any improvement/problems in results [:-)] > > > > > > > > >For zh_CN.eucCN and zh_CN.EUC, it does the same thing as doing > > > set dspmbyte=euc > > >and it should allow input and editing of multibyte characters on > > >the command line. As I do not use (and do not know) Chinese, I am > > >not sure if it works with zh_CN.eucCN locale. Can anybody confirm > > >that dspmbyte=euc feature works with zh_CN.eucCN (EUC-CN)? > > >(i.e. can you input and edit zh_CN.eucCN characters on the tcsh > > > command line when "set dspmbyte=euc"?) or does it anything wrong? > > Yes,I checked it ago,I can input chinese characters after "set dspmbyte=euc" in > > tcsh. > > Cool! I am going to submit my patch to Christos then. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-i18n" in the body of the message -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message