Using Chinese XIM with Tk

From: Alexander Beels (mr_beels_at_yahoo.com)
Date: 11/27/03


Date: Thu, 27 Nov 2003 17:56:59 +0800

Sorry for posting a question you have probably answered a million
times...But I haven't found a full answer in the archives.

What is the current status of using XIM with Tk? Using 8.4.4 on my LinuxPPC
(Yellowdog 3.0) box, I can get the xcin 2.5.3 overspot window to come up,
but it doesn't catch any keystrokes. All keystrokes after the
<ctrl>-<space> which triggered the XIM continue to go straight to wish.

This is a big improvement over 8.3, where the XIM window doesn't even
appear, but still not enough for me to actually be able to input Chinese.

The trivial test script I am using is:

pack [text .t]

If someone has successfully used xcin with tcl/tk, I will follow up with a
post of my full environment, and maybe you can tell me what I am doing
wrong.

I ask about current status because the (Japanese-oriented) stuff I have seen
on this newsgroup implies that XIM is an old feature that has been working
fine since 8.3, but the Chinese internationalization sites all say that a
special patched version of tcl/tk is needed in order to use XIM. Confused.