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

Re: [I18n]xterm and XIM



Hi,

At Sat, 09 Jun 2001 00:41:53 -0700 (PDT),
hiura@xxxxxxxxxxx wrote:

> Good! Glad to know Ami follows the XIM protocol design.

:-)  However, Ami is almost unusable with Root preedit type.
(Nothing is displayed until closing XIM by typing Shift-Space.)
Thus my xterm-156-overthespot patch will be needed.


> You mean, kinput2 and skkinput invoked something like
> 
>    LANG=ja_JP.eucJP kinput2 &
>    LANG=ja_JP.UTF-8 XMODIFIERS=@im=kinput2 ./xterm -u8 &

Yes.  I also tried

    LANG=ja_JP.UTF-8 ./xterm -u8 -xrm "*inputMethod:kinput2"

which gave the same result.  It seem that XmbLookupString()
returns zero.  However, I can input ASCII characters via
kinput2 and skkinput (using buffer_return of XmbLookupString()).

For example, type Shift+Space to invoke XIM and type "abc".
The preedit string will be Japanese Hiragana "a" and Latin
Alphabet "bc".  Type Enter key and only "bc" will be inputed.

> Hmmm...if so, strange...

You mean, Kinput2 works well for you with XIM clients under UTF-8
locales?  Then, Kinput2 is not responsible for this behavior...

> BTW, is Xlib capable of X11R6 XIM protocol only or X11R5 Ximp protocol
> also enabled?

Since I have never used X11R5, I don't know how to check this.
(When I started to use Linux, Ximp was already a historical protocol.)

> If they still don't, would you kindly try with the latest Xlib in the
> li18nux.org CVS repository, which is the full merger of
> X11R6.6/XFree86 4.0.3/Solaris XI18N Xlib for XFree86 4.0.3 environment?

I am using development (unstable) version of Debian, so called "Sid".
It includes GNU libc 2.2.3 and XFree86 4.0.3 now.

---
Tomohiro KUBOTA <kubota@xxxxxxxxxx>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/