Great Circle Associates

XCIN Mail-list
(April 2001)


Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: [devel] xcin-20010417 & future of bims
From: thhsieh@tlug.sinica.edu.tw
Date: Tue, 17 Apr 2001 22:02:16 +0800
To: xcin@linux.org.tw
Delivered-To: xcin-gate@tlug.sinica.edu.tw
Delivered-To: xcin-list@tlug.sinica.edu.tw
Reply-To: xcin@tlug.sinica.edu.tw
User-Agent: Mutt/1.2.5i

: 剛好最近也在想 bims 的發展.    8)
:
: 我對 Wnn 不是很熟, 但我的印象是它跟 front-end (kinput2) 是分開的. 我想, 把
: bims 跟 xcin  依照這樣的方式分開可能會有一些以下好處. 我所謂的分開,
: +比較像是把他分成兩個 process 來跑.

這點我同意,這樣可以讓 bims 像一個 TCP/IP 的 server 一樣,可以
同時有好幾個輸入法程式過來連線,是不錯的 idea。

除了您底下所提的好處以外,另外還一個好處,就是當一部機器要啟動
好幾個輸入法時,可以大大節省記憶體。在某些特殊的場合下可能會有
這個需求,例如只有一部執行運算的中央主機,而五六十個員工都要透
過 terminal 連上主機做資料處理,然而輸入法程式卻無法在 terminal
端跑時。

: 2.
: 其實原本 xcin 跟 bims 就是分開的, 單靠 bimsphone 把兩者連起來. 不過,
: +這樣的連結並沒有很清楚的 interface. 把 interface 定的更清楚一點,
: +有助於其它編碼的
: 支援. 比方說, bims 可以只收 BoPoMoFo 和 PinYin 的 input sequece, sequence
: +的轉換可以在兩個 interface 間增加新的模組 (Hsu ... 等)
:
: 目前的 bimsphone 把 key sequence 直接送給 bims.
:
: 未來還可以再加轉碼的模組, Big5 -> Unicode, Big5 -> GB, 或乾脆把 bims 變成只
: 回 Unicode.

我覺得 bims 要開始考慮對岸朋友的需求,最好不要只顧我們台灣這邊的
使用者。使用 Unicode 是個可行的主意。如果 bims 同時還要處理拼音
的話,必須同時可以處理有調拼音與無調拼音。有調拼音很容易,其實就
是直接將注音碼翻譯成拼音碼即可。但無調拼音就不太容易,因為所有字
的一聲、二聲 .... 都沒有了,因此選字時字序將會不一樣,需要特別考
慮處理。

無調拼音主要是對岸朋友在使用的,同時很多外國人在學中打時,也是學
無調拼音,因為他們不太能分辨中文的聲調。已經有相當多朋友請我們加
入此支援了,因此我建議可以將它列入考慮。

: 3.
: 分開配置的 configurations.
: 
: 我一直很想幫 bims 加一些詞庫管理等功能, 但目前不大可能在 runtime 做, 因為
: xcin 並不需要太多 runtime 管理的東西. 分成兩個 process 之後, bims
: +可以用比較高階的 toolkit 做一些 configuration 的 front-end.

目前有一位朋友正在寫 xcinrc 的 GUI 管理介面,到時可能與 gnome 整合
在一起,成為 gnome 的 AP 的一部分。

: 同樣的道理, 我猜 gtk 很可能會有自己的 input method framework (in Pango?), 這樣
: +xcin 跟未來的 input method framework 也可以 share 這個 back-end.

所以,您要明確定出 bims 的 protocol, 您應該打算走 TCP/IP 吧? :-))
還是 X property exchange?

不久後我就會開始寫 xcin 這邊的 I/O channel (除了 XIM 以外),
透過此 channel 可以讓其他程式與 xcin 溝通,到時 TCP/IP 與
X property exchange 都會實作。


T.H.Hsieh

To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe xcin" in the body of the message



Follow-Ups:
Indexed By Date Previous: Re: [devel] xcin-20010417 & future of bims
From: Pai-Hsiang Hsiao <phsiao@fas.harvard.edu>
Next: Re: [devel] xcin-20010417
From: edward@linux.dreamer.org (Edward G.J. Lee)
Indexed By Thread Previous: Re: [devel] xcin-20010417
From: edward@linux.dreamer.org (Edward G.J. Lee)
Next: Re: [devel] xcin-20010417 & future of bims
From: Pai-Hsiang Hsiao <phsiao@fas.harvard.edu>