Rolf Lochbühler <rolf.lochbuehler@web.de> さんは書きました:
Hi there everybody.
Here is my problem, which may be a beginner's problem:
I've installed xcin under Suse Pro 9.0. I believe I read all of the documentation and I think I installed all the required software packages.
But when I start xcin and then, say, gvim to enter Simplified Chinese text, all I can enter are Latin characters.
I see the xcin window. I also see the gvim window with Chinese menu and everything.
But none of the key combinations defined in /etc/xcin/xcinrc, like ctrl-space, seem to have any effect.
This is what xcin says on startup:
XCIN (Chinese XIM server) version 2.5.3-pre2. (module ver: 20010918, syscin ver: 20000210). (use "-h" option for help)
xcin: locale "zh_CN.GB2312" encoding "gb2312" xcin: XIM server "xcin-zh_CN.GB2312" transport "X/" xcin: inp_styles: Root OverTheSpot
And this is what I do to start gvim:
export LANG=zh_CN.GB2312 xcin & export XMODIFIERS="@im=xcin-$LANG" gvim
Looks like a bug in xcin. Workaround: Use the alias "zh_CN" instead of "zh_CN.GB2312" when starting xcin: LC_CTYPE=zh_CN xcin & export XMODIFIERS=@im=xcin-zh_CN LC_CTYPE=zh_CN.GB2312 gvim xcin is started like that in ~/.xim, that's why it works by default if the system language is set to Chinese. But actually zh_CN and zh_CN.GB2312 are the same, the latter is just an alias for the former. Therefore it should not matter which one you use. But for xcin it does matter. This must be a bug in xcin, I'll look into that. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。