Re: xcin input method

2000-01-07 Thread Adoal Xu

- Original Message -
From: Anthony Fok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 06, 2000 8:07 PM
Subject: Re: xcin input method


 On Thu, Jan 06, 2000 at 10:36:56AM +0800, hashao wrote:
 
  rxvt  CJK  hack  GBK 
   GTK+ or Gnome 

 [EMAIL PROTECTED]@so desu ka (??) [EMAIL PROTECTED] X 
 zh_CN  X locale 

 use_stdc_env False

  True GTK+/Gnome  GB  CLE 
 *.po - *.mo  GB  use_stdc_env
  tip  chinput  TLC 
 [EMAIL PROTECTED]   ^_^
[EMAIL PROTECTED]
libclocaleXlocale
XGBlocaleGB2312(EUC-CN)GBK
libclocale

1. /usr/share/localelocale
2. /usr/lib/gconviconv module
   /usr/lib/gconv/gconv-modules
3. /usr/X11R6/lib/X11/locale
   locale_name/XLC_LOCALE
   locale.dirlocale.alias
   libc locale nameX locale name
RedHat6.1TLC4zh_CB.GBK



-- 
[ [EMAIL PROTECTED] is the mailing-list that ]
[ this mail was originally sent to,  and was forwarded to this list   ]
[ automatically. GB characters are also converted to Big5 at the same ]
[ time.  Note that there may be errors  during the conversion as this ]
[ is not done by a human! ]



Re: xcin input method

2000-01-07 Thread Adoal Xu

- Original Message -
From: Anthony Fok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 06, 2000 8:07 PM
Subject: Re: xcin input method


 On Thu, Jan 06, 2000 at 10:36:56AM +0800, hashao wrote:
 
  rxvt 的 CJK 是 hack □可能目前不能很好的支持 GBK □但是
  国际化的 GTK+ or Gnome 程序应该都没问题。

   so desu ka (??) 的确如此。附带一点,在 X 底下,不知怎的,
 zh_CN 的 X locale 必须设

 use_stdc_env False

 若为 True,则 GTK+/Gnome 不会显示 GB 字出来。我上星期用了 CLE 的
 *.po - *.mo 转了 GB 码,究竟中文字全不见,原来就是这个 use_stdc_env
 在捣蛋。这个 tip 是 chinput 里的说明的(又要谢谢 TLC 三剑侠),
 否则我真的毫无头绪。use_stdc_env 有什么功用?我更不知。  ^_^
use_stdc_env就是说使用libc的locale功能;设成false,一般用于
系统的libc在locale支持不完善的情况下用X内置的locale支持。
X内置对GB系列的locale支持是只有GB2312(EUC-CN)的,不支持GBK。
你的情况应该是由于libc的locale没设置好造成的。
请检查以下内容:
1. /usr/share/locale下是否有相应的locale
2. /usr/lib/gconv下是否有相应的iconv module
   /usr/lib/gconv/gconv-modules里是否有相应的项
3. /usr/X11R6/lib/X11/locale下是否有相应的
   locale_name/XLC_LOCALE
   locale.dir或locale.alias下是否有相应的
   libc locale name到X locale name的映射
我在RedHat6.1下装了TLC4的zh_CB.GBK,是可以用的



Re: xcin input method

2000-01-06 Thread thhsieh
On Wed, Jan 05, 2000 at 02:16:13PM -0700, Anthony Fok wrote:
 On Wed, Jan 05, 2000 at 09:13:57AM +0800, [EMAIL PROTECTED] wrote:
   gen_inp,  30 
  [EMAIL PROTECTED] 30 just work
   :-))
 
 [EMAIL PROTECTED]@[EMAIL PROTECTED] patch30 
 
  w[0-9]  t  t1 
  C 
  ^_^  30 ^_^
 (gen_inp.patch  array30.patch)I [EMAIL PROTECTED] ^_^

!  :-))  patch
[EMAIL PROTECTED]

 [EMAIL PROTECTED]@[EMAIL PROTECTED] array30.cin
 [EMAIL PROTECTED] xcin 
 array30.tab  xcin2.3 
  GNU/Linux 

 :-)) [EMAIL PROTECTED] :-))
 :-))

  [EMAIL PROTECTED]
  
 
 [EMAIL PROTECTED]@ Unihan.txt 
 
  [1-9] 
  . 
  gen_inp [EMAIL PROTECTED] gen_inp 
 [EMAIL PROTECTED] *.cin  alt-ctrl-?? 
 toggle   ^_^  
   ^_^

 alt-ctrl-?? 
xcinrc 

[EMAIL PROTECTED]@ keystroke !

 [EMAIL PROTECTED]@ Unihan.txt 
 
 ^_^

! !  :-))

   xcin [EMAIL PROTECTED] .cin 
   .cin [EMAIL PROTECTED] tarball, 
  tarball  table ( cj.cin)  .cin
  table? 
 
 [EMAIL PROTECTED]@ array30.cin  grin
  arbitrary  threshold  1 MB
  xcin  tarball  1 MB .cin 
 

[EMAIL PROTECTED] :-))

 gen_inp  cin2tab 
.cin  :-))

 [EMAIL PROTECTED]@  ^_^   TurboLinux Chinese 
 
  chinput 
  .cit/.tit  cxterm  Emacs [EMAIL PROTECTED]
   ^_^

 turbolinux [EMAIL PROTECTED] justiny  mail, 
[EMAIL PROTECTED] IMdkit support multi-locale
[EMAIL PROTECTED]
XIM server,  locale  client  xcin 
[EMAIL PROTECTED]@ :-))


 XIM  :-))

 [EMAIL PROTECTED]@ TLC  zh_CN.GBK  
 alpha 
  CLE  zh_CN.GBK  C  X locale
  .src.rpm .src.rpm 
 zh_CN.GBK If so, please let me know.  ^_^  (I need to
 organize them first.  :-)

[EMAIL PROTECTED] :-))  X-Window [EMAIL PROTECTED]
 xim client  GBK  rxvt 


T.H.Hsieh



Re: xcin input method

2000-01-06 Thread Anthony Wong
|
| [EMAIL PROTECTED]@¦³¹D²z¡C  ^_^  ¤£ª¾ TurboLinux Chinese 
¤T¼C«L¡]¤_©ú»ü¡B¤èº~¡B³¯¦V¶§¡^
| ªº chinput ¹ï³o¨Ç°ÝÃDªº³B²z¦p¦ó¡HÅ¥»¡¥L­Ì¦³´¼¯à«÷­µªº¡C¨ä¥L¥\¯à§Ú´N¤£ª¾¹D¤F¡C
| ¥u¬O¥L­Ìªº .cit/.tit Àɸò cxterm ©M Emacs [EMAIL PROTECTED]
| ±Æ§Ç¡A¨S¦³Â²½Xµ¥µ¥¡A¥´°_¨Ó«D±`¤£¶¶¡C  ^_^
|
|³o´X¤Ñ§Ú»P turbolinux [EMAIL PROTECTED] justiny ³q mail, «Ü©êºp§Ú¹ê¦b¦³
|[EMAIL PROTECTED] IMdkit support multi-locale
|[EMAIL PROTECTED]
|XIM server, ´N¥i¥H¹ï¦UºØ locale ªº client ¿é¤J¡AµL½×¦p¦ó xcin ¤@
|[EMAIL PROTECTED]@ÂI¯à°÷¬ð¯}¡A¨º¯u¬O¤d¸U¤§³ß :-))

justiny À³¬O¤_¥ý¥Í§a¡C

[EMAIL PROTECTED] xim server ´N¯à support ¦hºØ locale, ¤p§Ì»{¬° IMdkit
(©ÎÀ³¬O»¡ XIM protocol) ¦n¹³¤w¸g¦³³o¼Ëªº¤ä´©¡C¤p§Ì¼gªº lamerpad¡Ð
[EMAIL PROTECTED] xim server (¼È®É¥u¬Oª±²¼©Ê½è), ¥i¦]À³ xim client ªº
locale [EMAIL PROTECTED] xim server ¥i¦P®É¹ï kterm,
crxvt-big5, crxvt-gb µ¥°µ¿é¤J¡C
¤£ª¾¦³¨S¦³»~¸Ñ©~¤h©Î justiny ªº·N«ä©O? :

p.s. ftp://ftp.debian.org.hk/debian-incoming/lamerpad_0.1.tar.gz

-- 
Anthony Wong.   [ E-mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] ]



Re: xcin input method

2000-01-06 Thread thhsieh
On Thu, Jan 06, 2000 at 10:33:00AM +0800, Anthony Wong wrote:
 justiny 
 
 [EMAIL PROTECTED] xim server  support  locale,  IMdkit
 ( XIM protocol)  lamerpad
 [EMAIL PROTECTED] xim server (),  xim client 
 locale [EMAIL PROTECTED] xim server  kterm,
 crxvt-big5, crxvt-gb 
  justiny ? :
 
 p.s. ftp://ftp.debian.org.hk/debian-incoming/lamerpad_0.1.tar.gz

 locale  XIM client  request, 
 locale?

 :-))

T.H.Hsieh



Re: xcin input method

2000-01-06 Thread ÃiÃiÂy¤H
¡i ¦b thhsieh. [EMAIL PROTECTED]: ¡j
: ¥¿¬O¡C¯à§_½Ð°Ý±z¡A¨Ó¦Û¤£¦P locale ªº XIM client ªº request, ­n¦p¦ó§PÂ_
: ¥¦¬OÄÝ©ó¨º­Ó locale?

¦b IMdkit ¸Ì, ¨C­Ó XIM_OPEN request ªº IMOpenStruct [EMAIL PROTECTED]
lang.name ªº field, À³¸Ó¥i¥HÀ°¨ì§A :p

--
¡° ¨Ó·½ ¡À e-Fever BBS ¢I bbs.e-fever.dhs.org ¡À 
[From: bbs.e-fever.dhs.org]



Re: xcin input method

2000-01-06 Thread thhsieh
On Thu, Jan 06, 2000 at 10:58:38AM +0800, Anthony Wong wrote:
 IMOpenStruct structure  member 'lang' (a XIMStr structure) 
 client  locale XIM_OPEN  XIMOpenHandler

[EMAIL PROTECTED] :-))


T.H.Hsieh



Re: xcin input method

2000-01-06 Thread Anthony Fok
On Thu, Jan 06, 2000 at 10:36:56AM +0800, hashao wrote:
 
 rxvt  CJK  hack  GBK 
  GTK+ or Gnome 

[EMAIL PROTECTED]@so desu ka (??) [EMAIL PROTECTED] X 
zh_CN  X locale 

use_stdc_envFalse

 True GTK+/Gnome  GB  CLE 
*.po - *.mo  GB  use_stdc_env
 tip  chinput  TLC 
[EMAIL PROTECTED]   ^_^



-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc



Re: xcin input method

2000-01-06 Thread Anthony Fok
On Thu, Jan 06, 2000 at 10:09:13AM +0800, [EMAIL PROTECTED] wrote:
 !  :-))  patch
 [EMAIL PROTECTED]
[...]
  :-)) [EMAIL PROTECTED] :-))
  :-))
[...]
 ! !  :-))

[EMAIL PROTECTED]@[EMAIL PROTECTED]  (New Maintainer 
 .deb 
  ^_^

  alt-ctrl-?? 
 xcinrc 
 
 [EMAIL PROTECTED]@ keystroke !

[EMAIL PROTECTED]@ ^_^

   arbitrary  threshold  1 MB
   xcin  tarball  1 MB .cin 
  
 
 [EMAIL PROTECTED] :-))
 
  gen_inp  cin2tab 
 .cin  :-))

[EMAIL PROTECTED]@ http://input.foruto.com/
 xcin 
 xcin  smartcj6.tab  xcin2.3
 .cin 

[EMAIL PROTECTED]@ xcin
 zhiranma  (BTW, is it ziranma or zhiranma?)
 Boshiamy  xcin 
 copyright  data  copyright/patent 
 idea

  [EMAIL PROTECTED]@  ^_^   TurboLinux Chinese 
  
   chinput 
  
   .cit/.tit  cxterm  Emacs [EMAIL PROTECTED]
^_^
 
  turbolinux [EMAIL PROTECTED] justiny  mail, 
 [EMAIL PROTECTED] IMdkit support multi-locale
 [EMAIL PROTECTED]
 XIM server,  locale  client  xcin 
 [EMAIL PROTECTED]@ :-))

[EMAIL PROTECTED]@ ^_^
 ZWinPro 
Anthony Wong  Debian 
 ^_^

justiny = yumj =  Justin Yu
danf (?) = Daniel Fang = 
seanc = Sean Chen = 

[EMAIL PROTECTED]@[EMAIL PROTECTED] ^_^

 
  XIM  :-))

Kanjipad - Lamerpad?  ;-)   Debian 2.2 
Anthony Wong   ^_^

 [EMAIL PROTECTED] :-))  X-Window [EMAIL PROTECTED]
  xim client  GBK  rxvt 

X Window...  TLC (zh_pcf?) 
ftp.turbolinux.com.cn [EMAIL PROTECTED]  ^_^
 CMEX 

[EMAIL PROTECTED]@zh_CN.GBK  C locale  Debian potato  
locale-zh_0.9+0.05-1
0.9  CLE 0.05  TLC.  ^_^   hashao  zh_CN.GB2312
 zh_CN.GBK [EMAIL PROTECTED] gnomecal  Mon Tue
  ^_^  C  locale
 apt-get source locale-zh  apt-get 

http://debian.midco.net/debian/dists/unstable/main/source/admin/
 FTP site
locale-zh_0.9+0.05.orig.tar.gz
locale-zh_0.9+0.05-1.diff.gz
locale-zh_0.9+0.05-1.dsc

[EMAIL PROTECTED] KBzh-localedata-0.9/localedata-zh-0.05/ 
 TLC  C locales  GBK  Big5 
CLE/glibc2/Debian 
[EMAIL PROTECTED]@[EMAIL PROTECTED]
TurboLinux Chinese  SRPM   ^_^

[EMAIL PROTECTED]@X  zh_CN.GBK  Debian  XFree86 3.3.5 
 patch  Debian XFree86  Branden  ^_^
 modem Debian  ftp.turbolinux.com.cn
 XFree86 SRPM  xia01.kachinatech.com  faure.debian.org
 alien -g  patch 
xfree86-3.3.5-Gem_TLC.tar.gzGem  ^_^
 80  [EMAIL PROTECTED]

[EMAIL PROTECTED]@ debian-chinese [EMAIL PROTECTED]|
 ftp.turbolinux.com.cn  40 MB   ^_^



-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc



Re: xcin input method

2000-01-06 Thread thhsieh
On Wed, Jan 05, 2000 at 02:16:13PM -0700, Anthony Fok wrote:
 On Wed, Jan 05, 2000 at 09:13:57AM +0800, [EMAIL PROTECTED] wrote:
  是的,我正计画要改写 gen_inp, 看能否也加入行列 30 的这项需求。
  但我在想如果要写的话就写得完善一点,不要只是行列 30 just work
  就好了。目前还没有腹案,有人可以提供建议吗? :-))
 
   我作了以下的 patch,基本上已经符合行列30 的「字」输入规格,
 解决了 w[0-9] 符号输入和 t 键入「的」字、 t1 键入「随」字
 等问题。不过可能有点不正规,不知您喜不喜欢,加上我的 C 编程水平
 实在有限,祈请参阅指正。 ^_^  不过,现在用行列30打中文打得很顺就是了。 ^_^
 (gen_inp.patch 和 array30.patch)。(嘻嘻,I know,我正一自私鬼。 ^_^)

非常感谢! 我发现这年头要偷懒真的起来越容易了 :-)) 我会参考您的 patch
改出一个更「正规」的版本出来。

   也许是时候向行列科技谈一下,问个清楚。去年多前弄的 array30.cin,
 一直没有回报给行列科技,前几个星期赫然发现行列的下载区有配合 xcin 使用的
 array30.tab 下载,不过我猜是给 xcin2.3 使用的版本。也许可以跟他们说说
 最新版本中 GNU/Linux 下对行列输入法的支援实情。

我见到您寄给行列科技的信了 :-)) 发现我不小心又偷懒了一次 :-))
真是谢谢 :-))

  至于其他的输入法我就不熟了,能否请熟悉的朋友帮忙追踪一下,然后再寄
  来给我?我都很乐意加入。
 
   从 Unihan.txt 可以产出带调的广东话和客家话输入法,当然也可以无调的。
 建议∶声调多半用 [1-9] (广东话九声,不过其实其中三声为入声,可以说是
 重覆了,所以有人也说广东话六声),有时加个 . 当轻声符号……嗯,如果
 沿用 gen_inp 作这些拼音输入法,也许可以在 gen_inp 里加入「声调」的
 toggle,也就是只需一个带调的 *.cin 档,用户可以按 alt-ctrl-?? 键
 toggle 带调或无调输入模式。  ^_^  我自己很少用拼音式的输入法,不知
 其他人意见如何?  ^_^

这个可以列如考虑,但不见得使用 alt-ctrl-?? 键,也可能就直接设定在
xcinrc 里头,看是否要开启声调模式。

所以,定义为「声调」的键,就一定是在一连串 keystroke 的最后那个键罗!

   如果您想要这些可从 Unihan.txt 产出的输入法,我迟些有空时可以试试。
 ^_^

呵呵! 看来我又偷懒成功了! 谢谢您罗 :-))

  另外,我在想在 xcin 主程式中是不是一定要放入这么多的 .cin 档?是不
  是应该将大部分的 .cin 档抽出来另外做一个 tarball, 而主程式的那个
  tarball 只放几个最常见的 table (如 cj.cin) 或根本不放任何 .cin
  table? 大家可以给我意见吗?
 
   也有道理。我贪方便,不想把 array30.cin 分出来。 grin
 不过,有个想法,大可以设个 arbitrary 的 threshold 值,例如 1 MB,
 如果 xcin 的 tarball 超过 1 MB,就把各个 .cin 档分出来,只保留其他
 最常用的。

我看这样好了,要就全部抽出来,不要有的抽有的不抽,这样比较一视同仁 :-))

如G要弄的话,我可能等到 gen_inp 大修改之后,那时 cin2tab 也会修改,
.cin 的格式会改变,正是抽出来的时机 :-))

   有道理。  ^_^  不知 TurboLinux Chinese 三剑侠(于明俭、方汉、陈向阳)
 的 chinput 对这些问题的处理如何?听说他们有智能拼音的。其他功能我就不知道了。
 只是他们的 .cit/.tit 档跟 cxterm 和 Emacs 里的一样,没有(也不能?)正确
 排序,没有简码等等,打起来非常不顺。  ^_^

这几天我与 turbolinux 的一位成员 justiny 通 mail, 很抱歉我实在有
眼不识泰山,不知是那一位剑侠?他现在正在研究 IMdkit support multi-locale
的部分,这对大家来说是很重要的部分,因为它意味着我们只要启动一个
XIM server, 就可以对各种 locale 的 client 输入,无论如何 xcin 一
定要走到这一步,如果这一点能够突破,那真是千万之喜 :-))

至于智能拼音我是不知道,但他有提到他们好像要发展手写板之类的输入
法,也是架构在 XIM 上的,听起来相当有趣 :-))

   对了,我从 TLC 那里「借」了他们的 zh_CN.GBK 来用,虽然说是 alpha 版,
 但似乎也相当不错,您们在 CLE 有没有兴趣加个 zh_CN.GBK 的 C 和 X locale
 资料档?如果您不想麻烦找他们的 .src.rpm,我可以把那些 .src.rpm 里面相关
 zh_CN.GBK 的档案放上网页上。If so, please let me know.  ^_^  (I need to
 organize them first.  :-)

可以寄一份给我吗?我想玩玩看 :-)) 还有, X-Window 字型要用那一套?
有那个 xim client 可以显示 GBK 内码的? rxvt 可以吗?


T.H.Hsieh


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-06 Thread ÀÁÀÁÁÔÈË
¡¾ ÔÚ thhsieh. µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÕýÊÇ¡£ÄÜ·ñÇëÎÊÄú£¬À´×Ô²»Í¬ locale µÄ XIM client µÄ request, ÒªÈçºÎÅжÏ
: ËüÊÇÊôÓÚÄǸö locale?

ÔÚ IMdkit Àï, ÿ¸ö XIM_OPEN request µÄ IMOpenStruct ¡õÓÐÒ»¸ö½Ð
lang.name µÄ field, Ó¦¸Ã¿ÉÒÔ°ïµ½Äã :p

--
¡ù À´Ô´ ¡õ e-Fever BBS £À bbs.e-fever.dhs.org ¡õ 
[From: bbs.e-fever.dhs.org]


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-06 Thread thhsieh
On Thu, Jan 06, 2000 at 10:58:38AM +0800, Anthony Wong wrote:
 IMOpenStruct structure 中的 member 'lang' (a XIMStr structure) 记录了
 client 的 locale。可参考处理 XIM_OPEN 的函式 XIMOpenHandler。

感谢您与懒懒猎人的回答,如此一来大概没什么问题了 :-))


T.H.Hsieh


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-06 Thread Anthony Fok
On Thu, Jan 06, 2000 at 10:36:56AM +0800, hashao wrote:
 
 rxvt 的 CJK 是 hack □可能目前不能很好的支持 GBK □但是
 国际化的 GTK+ or Gnome 程序应该都没问题。

  so desu ka (??) 的确如此。附带一点,在 X 底下,不知怎的,
zh_CN 的 X locale 必须设

use_stdc_envFalse

若为 True,则 GTK+/Gnome 不会显示 GB 字出来。我上星期用了 CLE 的
*.po - *.mo 转了 GB 码,究竟中文字全不见,原来就是这个 use_stdc_env
在捣蛋。这个 tip 是 chinput 里的说明的(又要谢谢 TLC 三剑侠),
否则我真的毫无头绪。use_stdc_env 有什么功用?我更不知。  ^_^

东东

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-06 Thread Anthony Fok
On Thu, Jan 06, 2000 at 10:09:13AM +0800, [EMAIL PROTECTED] wrote:
 非常感谢! 我发现这年头要偷懒真的起来越容易了 :-)) 我会参考您的 patch
 改出一个更「正规」的版本出来。
[...]
 我见到您寄给行列科技的信了 :-)) 发现我不小心又偷懒了一次 :-))
 真是谢谢 :-))
[...]
 呵呵! 看来我又偷懒成功了! 谢谢您罗 :-))

  最后一两天了!开学时又输到我偷懒了!  (New Maintainer 快重开吧!
我制 .deb 也有点累了,希望后生可畏,青出于蓝而胜于蓝,后来居上吧!
(哈,可以退休了。  ^_^)

 这个可以列如考虑,但不见得使用 alt-ctrl-?? 键,也可能就直接设定在
 xcinrc 里头,看是否要开启声调模式。
 
 所以,定义为「声调」的键,就一定是在一连串 keystroke 的最后那个键罗!

  也可以,这样也比较简单。 ^_^

  不过,有个想法,大可以设个 arbitrary 的 threshold 值,例如 1 MB,
  如果 xcin 的 tarball 超过 1 MB,就把各个 .cin 档分出来,只保留其他
  最常用的。
 
 我看这样好了,要就全部抽出来,不要有的抽有的不抽,这样比较一视同仁 :-))
 
 如果要弄的话,我可能等到 gen_inp 大修改之后,那时 cin2tab 也会修改,
 .cin 的格式会改变,正是抽出来的时机 :-))

  其实,我希望不抽更好,不过见到 http://input.foruto.com/
列出数十多种中文输入法,如果真的都移植上 xcin 来,那就真的非分不可。
快仓六也可支援 xcin 了,不过只有 smartcj6.tab 下载,是对应 xcin2.3
的,因为版权问题不明,所以他们没有放原 .cin 档出来。唉……

  话说回来,自然码也有自己的网站,似乎不是公开授权的,不知 xcin
里真的可以放 zhiranma 吗? (BTW, is it ziranma or zhiranma?)
抑或使用者自制的对照表,不受限制?(那就 Boshiamy 也可以放进 xcin 里面?)
不知这些公司是 copyright 了他们自己的 data 还是 copyright/patent 了
他们的输入法的 idea?

    有道理。  ^_^  不知 TurboLinux Chinese 三剑侠(于明俭、方汉、陈向阳)
  的 chinput 对这些问题的处理如何?听说他们有智能拼音的。其他功能我就不知道了。
  只是他们的 .cit/.tit 档跟 cxterm 和 Emacs 里的一样,没有(也不能?)正确
  排序,没有简码等等,打起来非常不顺。  ^_^
 
 这几天我与 turbolinux 的一位成员 justiny 通 mail, 很抱歉我实在有
 眼不识泰山,不知是那一位剑侠?他现在正在研究 IMdkit support multi-locale
 的部分,这对大家来说是很重要的部分,因为它意味着我们只要启动一个
 XIM server, 就可以对各种 locale 的 client 输入,无论如何 xcin 一
 定要走到这一步,如果这一点能够突破,那真是千万之喜 :-))

  让我想起……双桥、南极星、加盟等等随意转换编码那个工具箱。 ^_^
从 ZWinPro 的图片看到,他们已经有这个功能,也可以随意转换字型。
可惜,Anthony Wong 和我下载了回来,但可能包装错误,在 Debian 下使用
不尽成功,有涨灾v的功力实在……太逊了。 ^_^

justiny = yumj = 于明俭 Justin Yu
danf (?) = Daniel Fang = 方汉
seanc = Sean Chen = 陈向阳

  其实我也是最近才发现的,原来这几位中文化专家都去了「柘林思」工作了。 ^_^

 至于智能拼音我是不知道,但他有提到他们好像要发展手写板之类的输入
 法,也是架构在 XIM 上的,听起来相当有趣 :-))

Kanjipad - Lamerpad?  ;-)  在 Debian 2.2 上有了,相信
Anthony Wong 会有更详尽的解释。  ^_^

 可以寄一份给我吗?我想玩玩看 :-)) 还有, X-Window 字型要用那一套?
 有那个 xim client 可以显示 GBK 内码的? rxvt 可以吗?

X Window... 暂时没有字型,也许要向 TLC 借了。(zh_pcf?) 在
ftp.turbolinux.com.cn 上似乎有一套,不过档案很大,我未下载回来。  ^_^
把可以转换 CMEX 那套,但比较麻烦就是了。

  zh_CN.GBK 的 C locale 已经安装在 Debian potato 的 locale-zh_0.9+0.05-1
版了。0.9 来自 CLE, 0.05 来自 TLC.  ^_^  暂时 hashao 的 zh_CN.GB2312
和陈向阳的 zh_CN.GBK 一起安装。陈向阳那个,在 gnomecal 里会把 Mon Tue
等写成 一 二 三 等,似乎稍为更中文化。  ^_^  C 那个 locale,我懒找,不寄了,
烦请 apt-get source locale-zh (如果 apt-get 版本够新),或者

http://debian.midco.net/debian/dists/unstable/main/source/admin/
或您就近的 FTP site,下载∶
locale-zh_0.9+0.05.orig.tar.gz
locale-zh_0.9+0.05-1.diff.gz
locale-zh_0.9+0.05-1.dsc

合共三百多 KB。解开后,zh-localedata-0.9/localedata-zh-0.05/ 目录里面的
就是 TLC 所用的 C locales 了,有 GBK 也有 Big5 的呢!不过不是
CLE/glibc2/Debian 那个,还要请您们(东翰兄和小虫兄)研究比较,也许可以跟
陈向阳商量一下,看看可否统一一下。拜托拜托!(我想偷懒,加上我对
TurboLinux Chinese 可没有什么可贡献,只懂得「偷」他们的 SRPM 来用。  ^_^

  X 底下的 zh_CN.GBK 还未纳入 Debian 的 XFree86 3.3.5 套件中,
我偷赖,未寄 patch 给 Debian XFree86 的大大 Branden 嘛! ^_^
因为我家中的 modem 慢,所以我「善用」Debian 的设备,把 ftp.turbolinux.com.cn
的 XFree86 SRPM 下载至 xia01.kachinatech.com 和 faure.debian.org,
再用 alien -g 拆开来,取了 patch 的部份回来,放进
xfree86-3.3.5-Gem_TLC.tar.gz(Gem,玫宝也,「执到宝」嘛!)  ^_^
档案 80 多 KB,我另一封信再私下寄给您。

  如果其他 debian-chinese 朋友有兴趣拿一份,烦请告知,我也会乐意
转寄给您的,那就不用去 ftp.turbolinux.com.cn 下载 40多 MB 回来了。  ^_^

东东

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-05 Thread thhsieh
On Mon, Jan 03, 2000 at 10:11:25PM -0700, Anthony Fok wrote:
   1. [EMAIL PROTECTED] w 
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
   (?)  %keyname  0-9 [EMAIL PROTECTED]
   w0  w9  shortcut  xcin  source
   gen_inp  flag 
   module

 gen_inp,  30 
[EMAIL PROTECTED] 30 just work
 :-))

   2. 40
   zh_TW.Big5/pinyin.cin
   zh_CN.GB2312/pinyin.cin
   John Jenkins [EMAIL PROTECTED] Unihan.txt 
   6  9 
  

 40 :-))  40
 40 
[EMAIL PROTECTED] .cin 

[EMAIL PROTECTED]


 xcin [EMAIL PROTECTED] .cin 
 .cin [EMAIL PROTECTED] tarball, 
tarball  table ( cj.cin)  .cin
table? 

   3. bimsphoretabe  pinyincantonese 
  [EMAIL PROTECTED] ^_^ ( FAQ  ^_^

 libtabe  libbims
[EMAIL PROTECTED] mode 
 libbims, libtabe, 

 gen_inp  tabe 
 gen_inp  table 
[EMAIL PROTECTED]@
 gen_inp 
 table, 
  
libbims 

 bimsphone [EMAIL PROTECTED] libbims (libtabe [EMAIL PROTECTED]) 
[EMAIL PROTECTED] libbims  libtabe [EMAIL 
PROTECTED] libtabe
 Big5
[EMAIL PROTECTED] Big5 
   libbims

 GB 
 table [EMAIL PROTECTED] key
stroke, [EMAIL PROTECTED] sky ==  gen_inp 
[EMAIL PROTECTED]
 :-))

 GB [EMAIL PROTECTED]
 Big5  GB  xcin 
[EMAIL PROTECTED] Big5  GB 
[EMAIL PROTECTED]
 Big5 == GB 
 module  .tab [EMAIL PROTECTED] table 

Sorry, [EMAIL PROTECTED]@ :-))


T.H.Hsieh



Re: xcin input method

2000-01-05 Thread Anthony Fok
On Wed, Jan 05, 2000 at 09:13:57AM +0800, [EMAIL PROTECTED] wrote:
  gen_inp,  30 
 [EMAIL PROTECTED] 30 just work
  :-))

[EMAIL PROTECTED]@[EMAIL PROTECTED] patch30 

 w[0-9]  t  t1 
 C 
 ^_^  30 ^_^
(gen_inp.patch  array30.patch)I [EMAIL PROTECTED] ^_^

[EMAIL PROTECTED]@BTW, apply gen_inp.patch 

$ unexpand gen_inp.c  gen_inp.c.new
$ mv gen_inp.c.new gen_inp.c

  40 :-))  40
  40 
 [EMAIL PROTECTED] .cin 

[EMAIL PROTECTED]@[EMAIL PROTECTED] array30.cin
[EMAIL PROTECTED] xcin 
array30.tab  xcin2.3 
 GNU/Linux 

[EMAIL PROTECTED]@304040
 porting 
 ^_^

 [EMAIL PROTECTED]
 

[EMAIL PROTECTED]@ Unihan.txt 

 [1-9] 
 . 
 gen_inp [EMAIL PROTECTED] gen_inp 
[EMAIL PROTECTED] *.cin  alt-ctrl-?? 
toggle   ^_^  
  ^_^

[EMAIL PROTECTED]@ Unihan.txt 

^_^

  xcin [EMAIL PROTECTED] .cin 
  .cin [EMAIL PROTECTED] tarball, 
 tarball  table ( cj.cin)  .cin
 table? 

[EMAIL PROTECTED]@ array30.cin  grin
 arbitrary  threshold  1 MB
 xcin  tarball  1 MB .cin 


3. bimsphoretabe  pinyincantonese 
   [EMAIL PROTECTED] ^_^ ( FAQ  ^_^
 
  libtabe  libbims
 [EMAIL PROTECTED] mode 
  libbims, libtabe, 

[EMAIL PROTECTED]@[EMAIL PROTECTED]

  gen_inp  tabe 
  gen_inp  table 
 [EMAIL PROTECTED]@
  gen_inp 
  table, 
   
 libbims 

[EMAIL PROTECTED]@  ^_^

  bimsphone [EMAIL PROTECTED] libbims (libtabe [EMAIL PROTECTED]) 
 [EMAIL PROTECTED] libbims  libtabe [EMAIL 
 PROTECTED] libtabe
  Big5
 [EMAIL PROTECTED] Big5 
    libbims

  GB 
  table [EMAIL PROTECTED] key
 stroke, [EMAIL PROTECTED] sky ==  gen_inp 
 [EMAIL PROTECTED]
  :-))

[EMAIL 
PROTECTED]@


  GB [EMAIL PROTECTED]
  Big5  GB  xcin 
 [EMAIL PROTECTED] Big5  GB 
 [EMAIL PROTECTED]
  Big5 == GB 
  module  .tab [EMAIL PROTECTED] table 

[EMAIL PROTECTED]@ Unicode 
EACCCNS11643-1992
 Big5+Big5eBig5 w/HKSCSGBK grin, duck, run

 Sorry, [EMAIL PROTECTED]@ :-))

[EMAIL PROTECTED]@  ^_^   TurboLinux Chinese 

 chinput 
 .cit/.tit  cxterm  Emacs [EMAIL PROTECTED]
  ^_^

[EMAIL PROTECTED]@ TLC  zh_CN.GBK  
alpha 
 CLE  zh_CN.GBK  C  X locale
 .src.rpm .src.rpm 
zh_CN.GBK If so, please let me know.  ^_^  (I need to
organize them first.  :-)



-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc
--- gen_inp.c.original  Wed Jan  5 04:06:12 2000
+++ gen_inp.c   Wed Jan  5 04:24:06 2000
@@ -20,6 +20,7 @@
 */  
 
 
+#include ctype.h
 #include string.h
 #include X11/Xlib.h
 #include X11/keysym.h
@@ -141,6 +142,10 @@
 if (get_resource(cmd, value, 50, 2))
set_data((cf-mode), RC_IFLAG, value, INP_MODE_BEEPDUP, 0);
 
+cmd[1] = ARRAY30;/* array30 mode 
*/
+if (get_resource(cmd, value, 50, 2))
+   set_data((cf-mode), RC_IFLAG, value, INP_MODE_ARRAY30, 0);
+
 cmd[1] = QPHRASE_MODE;
 if (get_resource(cmd, value, 50, 2))
cf-modesc = (ubyte_t)(atoi(value) % 256);
@@ -533,6 +538,11 @@
 commit_keystroke(gen_inp_conf_t *cf, inpinfo_t *inpinfo, gen_inp_iccf_t *iccf)
 /* return: the IMKEY state */
 {
+if (cf-mode  INP_MODE_ARRAY30  !strcmp(iccf-keystroke, t)) {
+   /* Output de5 when keystroke is t, special for Array30 */
+   strcpy(iccf-keystroke, lplh);
+}
+
 if (match_keystroke(cf, inpinfo, iccf)) {
if (inpinfo-n_mcch == 1) {
commit_char(inpinfo, iccf, inpinfo-mcch);
@@ -855,6 +865,12 @@
selkey_idx = ((s = strchr(cf-header.selkey, keystr[0]))) ? 
(int)(s - cf-header.selkey) : -1;
 
+   if (cf-mode  INP_MODE_ARRAY30
+strcmp(iccf-keystroke, w)  isdigit(keystr[0])) {
+   /* Deals with w[0-9] symbol input in Array30 */
+   wch.wch = (wchar_t)0;
+   }
+
if (inpinfo-keystroke_len  selkey_idx != -1   ! wch.wch) {
/* Don't enter the multi-cch selection, but selkey pressed. */
return (mcch_choosech(cf, inpinfo, iccf, selkey_idx)) ?
@@ -970,7 +986,7 @@
 
 /*
 
-   Definition of general input method module (templet).
+   Definition of general input method module (template).
 
 */
 
--- gen_inp.h.original  Sun Nov 28 07:02:27 1999
+++ gen_inp.h   Wed Jan  5 04:27:00 2000
@@ -37,6 +37,7 @@
 #define INP_MODE_SINMDLINE1  0x0200 /* Enable sinmd in line1 mode. */
 #define INP_MODE_SPACERESET  0x0400 /* Enable space reset error mode. */
 #define INP_MODE_AUTORESET   0x0800 /* Enable auto reset error mode. */
+#define INP_MODE_ARRAY30 0x1000 /* Enable Array30 mode. */
 #define INP_MODE_BEEPWRONG   0x0001 /* Beap when type a wrong char. */
 #define INP_MODE_BEEPDUP 0x0002 /* Beap when exists duplet chars. */
 
--- array30.cin.origWed Jun 

Re: xcin input method

2000-01-04 Thread thhsieh
On Mon, Jan 03, 2000 at 07:30:21PM -0700, Anthony Fok wrote:
 [EMAIL 
 PROTECTED]@
 
 
 lovelife{foka} bash-2.03$ XCIN ( XIM server)  xcin 2.5-2103
 (: 19991128, syscin : 19990521)
 ( -h )
 
 xcin: : IM pinyin Setkey 1 has different locale. Ignore.
 xcin: XIM server xcin locale zh_TW.Big5 transport X/ inp_style Root.
 
 [EMAIL PROTECTED] xcinrc 

 (define zh_TW.Big5 
   (CINPUT (cj simplex phone cantonese pinyin bimsphone array30 zh_hex))
 
 (define pinyin
   '((SETKEY   5)
 (LOCALE   zh_TW.Big5)

 (define pinyin
   '((SETKEY   1)
 (LOCALE   zh_CN.GB2312)

!  xcin  :-))

 pinyin keyword [EMAIL PROTECTED]@ xcin  soid  
keyword,
[EMAIL PROTECTED] SETKEY=1 [EMAIL PROTECTED]


Sorry, [EMAIL PROTECTED]|[EMAIL PROTECTED]
locale  locale 



T.H.Hsieh



Re: xcin input method

2000-01-04 Thread Anthony Fok
On Tue, Jan 04, 2000 at 11:03:32AM +0800, [EMAIL PROTECTED] wrote:
 Sorry, [EMAIL PROTECTED]|[EMAIL PROTECTED]
 locale  locale 
 

[EMAIL PROTECTED]@

[EMAIL PROTECTED]@30

  1. [EMAIL PROTECTED] w 
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
  (?)  %keyname  0-9 [EMAIL PROTECTED]
  w0  w9  shortcut  xcin  source
  gen_inp  flag 
  module

  2. 40
  zh_TW.Big5/pinyin.cin
  zh_CN.GB2312/pinyin.cin
  John Jenkins [EMAIL PROTECTED] Unihan.txt 
  6  9 
 

  3. bimsphoretabe  pinyincantonese 
 [EMAIL PROTECTED] ^_^ ( FAQ  ^_^

[EMAIL PROTECTED]@



-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc



Re: xcin input method

2000-01-04 Thread Anthony Fok
On Tue, Jan 04, 2000 at 11:03:32AM +0800, [EMAIL PROTECTED] wrote:
 Sorry, 目前看来似乎还是无法完全克服这个困难。我想下一步我会写一个不同
 locale 可以读取不同设定档的机制,到时可以将不同 locale 的输入法分别写
 到不同设定档内,应该就可以解决这个问题。

  又要麻烦东翰兄您了,谢谢!

  另外几个关于行列30及各种拼音输入法的问题∶

  1. 小弟想改良一下行列30的支援,就是除了 w 起头的输入码外,其他的
 都可以以数字选字上字,而不会把该数字当作输入码的一部份。其中一个
 缓冲 (?) 的办法是取掉 %keyname 里 0-9 的数字键,但这样一来,
 那些 w0 ~ w9 的 shortcut 就用不到了。请问如果要改 xcin 的 source,
 是否应从 gen_inp 着手,加个 flag 来增加这项功能?(抑或另起炉灶,
 用自己独立的 module?

  2. 有没有人有兴趣增加「行列40」、「客家拼音」等输入法?
 又,大家喜欢「带调拼音」(如 zh_TW.Big5/pinyin.cin)
 抑或「无调拼音」(如 zh_CN.GB2312/pinyin.cin)?
 客家拼音也许可以从 John Jenkins 维护的 Unihan.txt 中抽出制成。
 带调的广东拼音也可以,不过懂得广东拼音 6 个或 9 个声调的香港人,
 实在少之又少,倒可以解决过多重覆字的问题。

  3. bimsphore、tabe 等将来可否配合 pinyin、cantonese 或其他输入法应用,
 作智能选字? ^_^ (抑或这已经是 FAQ 了? ^_^)

  谢谢!

东东

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-02 Thread thhsieh
On Sun, Jan 02, 2000 at 02:56:09AM +1100, Shao Zhang wrote:
 Hi,
   How do I change the input method to pinyin in xin??
 
   I tried ctl-alt-number keys and xcin -in1 blah, but they don't
   work at all. And I don't think the documentation has mentioned
   about it.
 
   I am using the newest version in potato.
   XCIN (Chinese XIM server) version xcin 2.5.1-3.
   (module ver: 19990710, syscin ver: 19990521).
 
 
   Thanks.

Hello,

Please read

http://xcin.linux.org.tw/xcin-2.5/2.5.1/UserGuide.html
http://xcin.linux.org.tw/xcin-2.5/2.5.1/FAQ.html:  QC.5

And, currently the xcin stable version is 2.5.1-4. The only difference
between it and 2.5.1-3 is the updation of FAQ doc, and a small fix in
makefile. It is basically the same as 2.5.1-3.


T.H.Hsieh



Re: xcin input method

2000-01-02 Thread Shao Zhang
Hi,
I am now trying to get pinyin input method going with the Big5
locale. This is what I did:

[22:51|pts/[EMAIL PROTECTED] % export LANG=zh_TW.Big5
[22:51|pts/[EMAIL PROTECTED] % xcin 
[1] 2425
[22:51|pts/[EMAIL PROTECTED] % XCIN (¤¤¤å XIM server) ª©¥» xcin 2.5.1-3¡C
(¼Ò²Õª©¥»: 19990710, syscin ª©¥»: 19990521)
(¨Ï¥Î -h ¿ï¶µÅã¥Ü½u¤W»¡©ú)

xcin: ¿ù»~: rcfile: pinyin: SETKEY: µL®ÄªºÅܼƭȡC

[1]  + exit 255   xcin


In my ~/.xcin/xcinrc file, I changed the following lines:

(CINPUT (cj simplex phone cantonese bimsphone array30 pinyin 
zh_hex))

and added:

(define pinyin
'((SETKEY 9)
  (AUTO_COMPOSE   YES)
  (AUTO_UPCHARYES)
  (AUTO_FULLUPNO)
  (SPACE_AUTOUP   NO)
  (SELKEY_SHIFT   NO)
  (SPACE_IGNORE   NO)
  (SPACE_RESETYES)
  (AUTO_RESET NO)
  (END_KEYNO)
  (WILD_ENABLEYES)
  (AUTO_SELECTNO)
  (SINMD_IN_LINE1 YES)
  (BEEP_WRONG YES)
  (BEEP_DUPCHAR   YES)))



Thanks.

Shao.

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 http://xcin.linux.org.tw/xcin-2.5/2.5.1/UserGuide.html
 http://xcin.linux.org.tw/xcin-2.5/2.5.1/FAQ.html:  QC.5
 
 And, currently the xcin stable version is 2.5.1-4. The only difference
 between it and 2.5.1-3 is the updation of FAQ doc, and a small fix in
 makefile. It is basically the same as 2.5.1-3.
 
 
 T.H.Hsieh
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: xcin input method

2000-01-02 Thread ºÎÅ\]°h´²¡I
¡i ¦b [EMAIL PROTECTED] (Anthony Fok) [EMAIL PROTECTED]: ¡j
: On Sun, Jan 02, 2000 at 10:03:43PM +1100, Shao Zhang wrote:
: Now test it again.  Please let me know if it works or not.  :-)
: (Special thanks from Yu Mingjian et al.  This fix is documented in
: TurboLinux Chinese 4.02's ZWinPro 3.0's Chinput 2.0.  (I tried to make
: ZWinPro 3.0 work in Debian, but so far, not much success yet.  I must
: be missing something.  :-)

FWIW, I also can't make the chinput in zwinpro 3.0 work, so I still
can't upgrade the chinput in Potato...
(debugging X11 programs is beyond my ability until i have money to
buy those O'reilly books :p)

: Hmm... on second thought, I like your idea.  I am discussing it with
: Espy right this moment on irc.debian.org.  I'll let you know how things
: turn out.  :-)

Moving zh_TW.Big5 to locale-zh looks like a 'backward' move, but it
does make the dependency easier to handle... Actually why not push the
zh_CN.GB2312 into 'locales'?  :P

Anthony Wong
--
¡° ¨Ó·½ ¡À e-Fever BBS ¢I bbs.e-fever.dhs.org ¡À 
[From: dialup3-181.csc.cuhk]



Re: xcin input method

2000-01-02 Thread Anthony Fok
On Sun, Jan 02, 2000 at 10:41:18PM +,  wrote:
 FWIW, I also can't make the chinput in zwinpro 3.0 work, so I still
 can't upgrade the chinput in Potato...
 (debugging X11 programs is beyond my ability until i have money to
 buy those O'reilly books :p)

Yes, it starts up here, but it complains missing PY info or something like
that.  Hmm...

 : Hmm... on second thought, I like your idea.  I am discussing it with
 : Espy right this moment on irc.debian.org.  I'll let you know how things
 : turn out.  :-)
 
 Moving zh_TW.Big5 to locale-zh looks like a 'backward' move, but it
 does make the dependency easier to handle... Actually why not push the
 zh_CN.GB2312 into 'locales'?  :P

That day will come when glibc2 got things fixed.  :-)  Until then, we'd have
to wait.  The good thing is, most of these things should be transparent to
the end user, but of course, that means more bug-fixing.  :-)

Anthony

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc



Re: xcin input method

2000-01-02 Thread Anthony Fok
On Sun, Jan 02, 2000 at 10:03:43PM +1100, Shao Zhang wrote:
   Thanks for the reply. I am now getting this error:
 
 [21:53|pts/[EMAIL PROTECTED] % export LANG=zh_CN.GB2312 
 [21:53|pts/[EMAIL PROTECTED] % xcin
 xcin: error: X locale zh_CN.GB2312 is not supported by your system.

Oops!  Sorry about that!  Another bug to fix for Debian 2.2.  We'll contact
the XFree86 maintainer.  Apparently, a tiny patch was missed when Branden
was trying merge upstream patches etc., and zh_CN.GB2312 disappeared from
/usr/lib/X11/locale/locale.dir once again.  Nonetheless, it should be
/fixed in XFree86-3.3.6 in Debian.

The fix is simple though.  Add this line to /usr/lib/X11/locale/locale.dir:

zh/XLC_LOCALE   zh_CN.GB2312

And you should be able to use xcin once again.  :-)
Another thing: after installing zh-trans, please try
LANG=zh_CN.GB2312 gnumeric or gnomecal or gnomecard.  If no Chinese
characters show, edit /usr/lib/X11/locale/zh/XLC_LOCALE
and change

use_stdc_envTrue

to

use_stdc_envFalse

Now test it again.  Please let me know if it works or not.  :-)
(Special thanks from Yu Mingjian et al.  This fix is documented in
TurboLinux Chinese 4.02's ZWinPro 3.0's Chinput 2.0.  (I tried to make
ZWinPro 3.0 work in Debian, but so far, not much success yet.  I must
be missing something.  :-)

   However, if I use zh_TW.Big5 locale, the above works fine.

Yes, indeed.  Thank God!  However, the latest locales package still has
a slight problem: LC_COLLATE for zh_TW.Big5 is not built somehow, and
glibc2's maintainer knows that and is working on it.

   Also, it took me sometime to figure out that I actually need to
   install the locale-zh package. The main problem is that I am not
   even aware there is a such package. I think we should make all
   the gb fonts package and xcin and so on at least suggest the
   locale-zh package.

Thanks for the suggestion!  That's something I missed!  I'll make xcin
depends or recommends locale-zh.

   In addition, I think it would be better if we can take out the
   zh_TW stuff from the locales package, and merge with the package
   locale-zh to create a new package, something like locales-chinese.
   In this case, we can simply make xcin depends on
   locales-chinese. Just a suggestion.

Hey, zh_TW.Big5 is also zh, so no need to call it something
different.  ;-)  (it is also for the sake of uniformity, because there
are similar packages called locale-ja and locale-ko.)

locale-zh is a temporarily package.  As soon as glibc2.x handles
and build zh_{CN,JP,KR}.* properly, locale-{zh,ja,ko} would no longer
be necessary.

Hmm... on second thought, I like your idea.  I am discussing it with
Espy right this moment on irc.debian.org.  I'll let you know how things
turn out.  :-)

Cheers,

Anthony

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]


Re: xcin input method

2000-01-02 Thread Anthony Fok
On Sun, Jan 02, 2000 at 10:41:18PM +, 何�]�h床�I wrote:
 FWIW, I also can't make the chinput in zwinpro 3.0 work, so I still
 can't upgrade the chinput in Potato...
 (debugging X11 programs is beyond my ability until i have money to
 buy those O'reilly books :p)

Yes, it starts up here, but it complains missing PY info or something like
that.  Hmm...

 : Hmm... on second thought, I like your idea.  I am discussing it with
 : Espy right this moment on irc.debian.org.  I'll let you know how things
 : turn out.  :-)
 
 Moving zh_TW.Big5 to locale-zh looks like a 'backward' move, but it
 does make the dependency easier to handle... Actually why not push the
 zh_CN.GB2312 into 'locales'?  :P

That day will come when glibc2 got things fixed.  :-)  Until then, we'd have
to wait.  The good thing is, most of these things should be transparent to
the end user, but of course, that means more bug-fixing.  :-)

Anthony

-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


-- 
[ This mail was originally sent to  debian-chinese@lists.debian.org ]
[ and was forwarded to this list automatically. Big5 characters are ]
[ also converted to GB at the same time, Please note that there may ]
[ be errors during the conversion as this is not done by a human!   ]