
ugroh@t-online.de (Ulrich Groh) writes:
I am working my way true the "CJK Support in Suse Linux" Manual. I have installed the japanese fonts (checked by the 2.1.1 example). Now I started the section 3 Input.
If I do the examples 3.1.3.1 and 3.1.3.1.1 (with gvim)
I.e. you did start kinput2 like ~$ LANG=ja_JP kinput2 -xim -kinput -canna &
it doesn't work as described:
- Shift-Space don't work - I have japanese items but I cannot enter japanese text
To be able to do Japanese input, you need LC_CTYPE=ja_JP.eucJP (or the alias LC_CTYPE=ja_JP). But as you say you have Japanese menus, i.e. it looks like you did start gvim in a Japanese locale and you probably have this already. The command 'cannastat' should list kinput2 as a client, like this: mfabian@gregory:~$ cannastat Connected to unix Canna Server (Ver. 3.5) Total connecting clients 1 USER_NAME ID NO U_CX C_TIME U_TIME I_TIME HOST_NAME CLIENT mfabian 0 0 3 Fri 23 11:59am 1 15 localhost kinput2 mfabian@gregory:~$ I guess you forgot to set XMODIFIERS="@im=kinput2". It must be set in the environment of the application where you want to do Japanese input. ~$ XMODIFIERS=@im=kinput2 LC_ALL=ja_JP.eucJP gvim Also please try some other applications capable of Japanese input instead of gvim, for example rxvt, to find out whether you have a problem with Japanese input in general or especially with gvim.
Are their more descriptions available how to set up the environment? Also if I start with the example 3.1.3.1. a strange message "warning yubin7 ... " pops up.
This is a warning only and can be ignored. There is a supplementary dictionary for Canna which contains Japanese postal codes. If you want it you can get it here: ftp://ftp.suse.com/pub/suse/i386/7.3/suse/j2/canna-yubin.rpm The Canna package already contains the necessary entries to use this dictionary, therefore it will be automatically used if you install the package, but if you don't have it installed, there will be a warning that this dictionary cannot be found. This doesn't do any harm, it just means that you can't use this dictionary, everything else works normally. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。