Subject: Re:Japanese
To: None <moehl@akaflieg.extern.tu-berlin.de>
From: Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>
List: netbsd-users
Date: 11/13/2000 09:34:51
>> On Sat, 11 Nov 2000 17:54:27 +0100 (CET)
 Torsten Sadowski <moehl@akaflieg.extern.tu-berlin.de> wrote:

 > apollo% kinput2 -wnn
 > Warning: file ""wnenvrc-file-for-Wnn4"" open 
 > Warning: Cannot convert string
 > "-misc-fixed-medium-r-normal--14-*-*-*-c-*-jisx0208.1983-0" to type
 > FontStruct
 > Warning: file ""wnenvrc-file-for-Wnn4"" open 

I can't reproduce this warnings but

 > I do see jserver and kinput2 with ps, but I can't get a positive reaction
 > from kinput2. What am I supposed to see after pressing shift-space?

You will see [$B%m!<%^(B] on the bottom right of the kterm
after start kinput2 conversion.

Have you set kterm resource that which key start conversion like 
following block ?

KTerm*VT100.Translations: #override \
        Shift <Key> space: begin-conversion(_JAPANESE_CONVERSION) \n\
        Shift <KeyPress> Prior:scroll-back(1,line) \n\
        Shift <KeyPress> Next:scroll-forw(1,line) \n\
        None<Key>Prior:scroll-back(1,page) \n\
        None<Key>Next:scroll-forw(1,page) \n\
        None<Key>Insert: insert-selection(PRIMARY, CUT_BUFFERO)

You may want to copy /usr/X11R6/lib/X11/ccdef/ccdef.kinput2{.egg,} to
${HOME}/.ccdef to change key-bindings.

For your reference, my X resources for KTerm and Kinput2 looks like
-----------------------------------------------------------------------
!  KTerm
KTerm*KanjiMode:                        euc
KTerm*VT100.Translations: #override \
        None <Key> F13: begin-conversion(_JAPANESE_CONVERSION) \n\
        Shift <KeyPress> Prior:scroll-back(1,line) \n\
        Shift <KeyPress> Next:scroll-forw(1,line) \n\
        None<Key>Prior:scroll-back(1,page) \n\
        None<Key>Next:scroll-forw(1,page) \n\
        None<Key>Insert: insert-selection(PRIMARY, CUT_BUFFERO)

!  Kinput2
Kinput2*ccdef:                          /home/tacha/.ccdef
Kinput2*conversionStartKeys:            None <Key> F13
Kinput2*useOverrideShellForMode: true
-----------------------------------------------------------------------

Hope this helps.

Tacha