Re: cannot input using xcin
On Thu, Mar 01, 2001 at 05:49:53AM -0800, Lester Lam wrote:
> Hi,
>
> I have a few problems for using chinese in debian:
> 1) how come I only able to type chinese using the command xcinterm-big5?
> even I open another crxvt-big5 afterward, I still can't type chinese in
> the new crxvt.
因為 xcinterm-big5 自動設好 XMODIFIERS,但你的 ~/.bashrc 卻又把它
設錯了,所以從 xcinterm-big5 裏打開的程式便有問題了。下續……
> 2) how can I type chinese in other applications?
> (e.g. licq, abiword, etc)
在 xcinterm-big5 裏打開 abiword 或 licq 就可以了。
> 3) can anyone tell me how can I display chinese on
> licq? or should I say, is there are any chinese
> support for QT?
licq 已經支援中文了。如果你不喜歡 licq 用楷書,你可以把附帶的檔案
放入 /etc/qt.fontguess 或 ~/.fontguess 裏。(我還未確定這個檔案的
設定是否完全正確,但相信總有一天,我們會請 Debian 的 libqt2 維護員
加個 /etc/qt.fontguess 進去。 :-)
> I use blackbox as my windows manager.
>
> just for ref, i have the following in my .bashrc:
> export LC_ALL=zh_TW.Big5
> export LC_CTYPE=zh_TW.Big5
> export LANG=zh_TW.Big5
> exprot XMODIFIERS="im=xcin-zh_TW.Big5"
^^^^^^ ^^^^^^^^^^^^^^^^^^
這是問題所在。試試這個:
export XMODIFIERS="@im=xcin"
除了串錯 "exprot",你少加了 "@" 號。另外,xcin 在 Big5 模式時,
不應加 "-zh_TW.Big5"。這個在舊版的 Debian ZH FAQ 所沒有說清楚,
已在新版的更正了。
> btw, are these two lines only for chinput?
> stty cs8 -istrip
> stty pass8
不是,但似乎 Debian 本來的預設值已經正確,所以我自己從來都不特別
另設這兩個 stty 的變數。 :-)
> I have read the whole chinese FAQ, but just can't find
> a solution for the above problems. I appreciate if
> you can give me a hand. Thanks!
嘻嘻,對不起,網頁上的 Debian Chinese FAQ 有一個小錯誤,
已在 debian-zh-faq_1.1 更正了,但網頁未更新。暫時,請
apt-get install debian-zh-faq
你用的是 testing 或 unstable 嗎?這些新的好東西,potato 裏面
大多數都沒有。
東東
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
Reply to: