next up previous contents index
Next: Canna Up: Japanese Input Previous: Where to Start

Subsections

Starting Wnn

In order to convert the hiragana into kanji, the Wnn JIM needs to access a font server called jserver. Almost everyone I know that is not at a university runs the server on their local Linux machine. In order for the JIM to find the dictionaries, you should set the environment variable JSERVER to localhost.

You may also need to specify JSERVER when you start up a Front End Processor such as kinput2. The kinput2 Front End Processor is more flexible than uum.

Someone on TLUG recommended I put the following in my .xinitrc file:

   kinput2 -wnn -jserver localhost &

Make sure you start jserver if you intend to input Japanese:

cow# jserver

Nihongo Multi Client Server (4.10)
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/kihon.dic    Fid = 1
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/setsuji.dic  Fid = 2
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/koyuu.dic    Fid = 3
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/chimei.dic   Fid = 4
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/jinmei.dic   Fid = 5
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/special.dic  Fid = 6
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/computer.dic         Fid = 7
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/symbol.dic   Fid = 8
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/tankan.dic   Fid = 9
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/bio.dic      Fid = 10
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/full.fzk     Fid = 11
Finished Reading Files

Make sure it finds the dictionaries.

I'm using RedHat 4.0 Linux with SysV Init. I'm not sure if this is the right place to put startup files, but I startup jserver from my /etc/rc.d/rc.local file with

if [ -f /usr/local/bin/Wnn4/jserver ]; then
	 /usr/local/bin/Wnn4/jserver
	 fi

Problems Finding the Server

If a program such as mule complains about not being able to find the server, check the permissions of the socket /tmp/jd_sockV4=. This socket is created each time jserver is started. On a standalone machine with only the user craig, the protection settings are:

cow:/tmp$ ls -l /tmp/jd_sockV4 
srwxrwxr-x   1 wnn      craig           0 Mar  9 11:25 /tmp/jd_sockV4=
cow:/tmp$


next up previous contents index
Next: Canna Up: Japanese Input Previous: Where to Start
Craig Toshio Oda
1998-05-07