Mike Fabian wrote:
Here's how to make it work:
Copy the attached ~/.canna-jisx6002.ctd to your home directory. You have to compile it to binary form with
mfabian@gregory:~$ mkromdic .canna-jisx6002.ctd forcpp -7 < .canna-jisx6002.ctd | /lib/cpp |forcpp -8 | kpdic > .canna-jisx6002.cbp SIZE 603 KEYS 92 mfabian@gregory:~$
Now put
(setq romkana-table ".canna-jisx6002.cbp")
in your ~/.canna to load the binary version of the keyboard map.
If you don't have a ~/.canna, create one or use the one I attach to this mail.
Restart your canna clients like kinput2, XEmacs, Emacs, nvi-m17n, ...
You must use the Japanese keyboard map of course, i.e. you should use
setxkbmap jp jp106
and/or have
Section "InputDevice" [...] Option "XkbLayout" "jp" Option "XkbModel" "jp106" [...] EndSection
in /etc/X11/XF86Config.
Now the keyboard layout should be correct for kana input.
Thank you, it works. This now leads to one more question: As some punctuation characters, especially Zenkaku ones, are not accessible in Kana-Nyuuryoku mode, is there a simple way to toggle between Kana-Nyuuryoku and Romaji-Nyuuryoku?
The following small deficiencies probably cannot be solved:
- '\' and the 'Yen'-key both output '?'. - '~' and "Overscore" both output '?' 'Overscore' is the key left of the 'Yen' key, shifted. There is no real 'Overscore', therefore 'Overscore' always seems to output '~' on the Japanese keyboard layouts used by X11. On the JIS X 6002 keyboard, the 'Overscore' key is labelled with the repetition character '?', i.e. because of this problem you can't input this character directly. But that is no big problem, usually one doesn't need to input this character directly anyway. The conversion backend (Canna) usually does that for you when necessary. I.e. when you type '????' and convert, you will get '??' automatically. And if you really need to input ? directly, you can still use the special symbol input as described in
http://www.suse.de/~mfabian/suse-cjk/kinput2-canna-special-symbo.html
- I was not sure on what key to put the '?' in my JIX X 6002 keymap. According to Figure 5-10 on page 248 in Ken Lundes book "CJK Information processing", this character should be on the same key as '?' (shifted). Therefore I mapped '_' to '?'.
The mapping is ok for me. I assume that the line together with "ro" is not the Kanji for "ichi", but the Katakana symbol for vowel stretching. Is that correct? Best regards, Thomas Piekenbrock, Tokio