Re: input methods -- xcin or chinput
I found the solution for my problem using xcin. I made a custom xcinrc
file using the system xcinrc file as a starting point. The first thing
I noticed was in the system xcinrc file there's a "pinyin" input method
listed under the zh_CN.GB2312 locale, so I reproduced the relevant parts
of that input method for the zh_TW.Big5 locale. The lines I
(CINPUT (pinyin cj simplex phone bimspinyin bimsphone
jyutping array30 jyutping0 ))
; Here are detailed configuration of each IM (for zh_TW.Big5 locale).
In particular I added "pinyin" to the DEFAULT_IM and CINPUT macros.
Then I also made a "SETKEY" entry for pinyin, so I could bring it up
with the ctrl-alt-0 keystroke. That's the only change I made.
Then I started up xcin and rxvt -- I was able to enter pinyin just like
I wanted. Fantastic! It also works for me in xemacs. I'm having
problems with regular emacs, however.
The input method suggested below, "C-x RET C-\ chinese-py-b5", does seem
to work, but the fonts displayed aren't correct. All I get are little
white boxes and rectangles. Is there a way to set the fonts correctly
for regular emacs (not xemacs)?
Again I have to say it is very very cool to be able to enter Chinese
characters on my linux box. It is really helping me to practice my
Chinese. And it's reasonably priced :) .
> curt> Now I'm looking for that same method for use with xcin. xcin has a
> curt> pinyin input, but it's not like cxterm's method. At the end of the day
> curt> I want to use emacs-mule for editing, so I'm focusing on getting xcin to
> curt> work.
> If you do not mind to input Chinese(Big5) one by one in Emacs by pinyin
> with a tone, type C-x RET C-\ chinese-py-b5 then you can do that.