[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dead keys in chinput/xsim

On Tue, Nov 12, 2002 at 06:24:12AM +0100, Anders Helmersson wrote:
> When running chinput or xsim in xterm with a zh_CN.UTF-8 my dead keys
> defined in /usr/X11R6/lib/X11/locale/zh_CN.UTF-8 get lost.
> This happens even before I activate the chinese input (ctrl-space).
> Are there any ways around this problem or can't I use dead keys together
> with chinput/xsim?

Since XIM take over the key press events, my guess is that
dead key composing will be disabled when a XIM is registered. 

So what you can do is patch chinput/xsim to do dead key composition
themselves when it is not activated.

Or create a special input method table out of your dead key compose
table. Then when you want to input latin text, switch to that input
method. this way might be easier or harder depend how the XIM server
is implemented.

hashao|      致虚极,守静笃。万物并作,吾以观复。
hashao|      夫物芸芸,各复归其根。归根曰静,静曰复命。复命曰常,知常
hashao|    曰明。不知常,妄作凶。
hashao|      知常容,容乃公,公乃全,全乃天,天乃道,道乃久,没身不殆。

Reply to: