X ComposeIM [Was: Re: [SCIM] Can anyone revise my doc for newbies?
Zhe Su
james.su at gmail.com
Mon Jul 19 20:25:10 PDT 2004
Hi,
Thank you very much.
However, it seems that this method is hard to use :-)
Regards
James Su
On Mon, 19 Jul 2004 18:21:30 -0700 (PDT), Hideki Hiura
<hiura at openi18n.org> wrote:
> James,
>
> > From: Zhe Su <james.su at gmail.com>
> > Could you please give me some hint on how to switch between compose
> > and xim on the fly? I know nothing about it.
>
> If I remember correctly, XFree86 4.2.0 must already have XI18N code
> incorporated.
> There are a couple of points you need to verify on your X settings.
> The enhancement in XComposeIM regarding switching is triggered
> by the new directives in "Compose" file.
>
> You can define the switching by
>
> STATE "[ state name ]"
>
> key sequence : SWITCH_STATE_TO "[ state name ]"
>
> For switching to remote IM, you can use
> STATE_TYPE: REMOTE_IM
> derective.
>
> For example, using European composition with Japanese input method
> server, the definition would be something like
>
> STATE "[ English/European ]"
> <Multi_key> <j> <a> : SWITCH_STATE_TO "[ Japanese ]"
> Ctrl<T> <j> <a> : SWITCH_STATE_TO "[ Japanese ]"
>
> <Multi_key> <plus> <plus> : "\x23" numbersign
> <Multi_key> <apostrophe> <space> : "\x27" apostrophe
> :
> [omitted bunch of definition of deadkey/composition rules for European]
>
> END_STATE
>
> STATE "[ Japanese ]"
> STATE_TYPE: REMOTE_IM
> Ctrl<space> : SWITCH_STATE_TO "[ English/European ]"
> LANGUAGE : ja
> END_STATE
>
> Early Solaris's multilingual input enabling with CDE was done with
> this mechanism. Here is how it looked like:
>
> http://docs.sun.com/db/doc/806-0169/6j9hsml3o?a=view
>
> Hideki
>
More information about the scim
mailing list