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

Re: Howto set-up debian woody for Japanese



On Sun, May 19, 2002 at 03:08:36PM -0400, Steve Kennedy wrote:
> As far as I know, Japanese support is not great in console. 

kon2 lacks gpm support and comes with stupid screen savor.

I kind of heard new framebuffer Linux console shall handle Japanese (at
lease boot screen of installer.) I am wondering how to use it.

> Personally, I use X to run my programs in Japanese.

True.  But old man has hard time reading small windows.  Well I need
some script to start big console screen on X.

> After downloading the needed fonts, kanna servers etc. through
> tasksel/japanese, I answered no to all the messages that tried to set
> up a native Japanese environment - I'm a native English speaker and
> wanted Japanese as an option.

This is my stage too.

> I then open an xterm and run the following script which I saved in
> /usr/local/bin/jpn:
> 
> #!/bin/sh
> # Start Japanese environment
> export LANG=ja_JP.eucJP
> export LC_MESSAGES=ja_JP.eucJP
> export LC_CTYPE=ja_JP.eucJP
> # Start Japanese input
> export XMODIFIERS=@im=kinput2
> kinput2 -xim -kinput -canna &

Aha !  That is it for X.  I had Vine which came with kinput2 configured.

> echo "Ready to write Japanese."

Great short intro for Japanese environment.  I thought console like
kterm and gnometerm are Japanese capable too.

> After running this script, any program launched from the same xterm
> comes up with buttons labelled in Japanese. Shift-Space toggles
> Japanese input. After hitting Shift-Space, you should see an "a" in
> hiragana under your cursor. Any text you now enter comes up in
> hiragana. Hitting Space converts hiragana to kanji (henkan). Use Space
> or your arrow keys to select the appropriate kanji, then press Enter to
> input. Pressing the Down arrow while in hiragana entry mode converts
> hiragana directly to katakana. The up key followed by the side arrow
> keys can be used to widen or narrow the henkan area. 
This part I know. :) Some old IM for DOS/V and HP200LX (i186 8MHz) DOS-C
environments used Shift-Space. (One small IM company popular with mania
on PC98 tradition was upstream in DOS-C IM)

> Apt-getting jvim-canna should give you vim in Japanese, though I'm not
> sure exactly how it works since I use xjed.

Apt-getting jvim-canna is what I was looking for.

> There are probably other methods to get Japanese running, but this one
> works for me, and easily gives me Galeon and Sylpheed in Japanese.

I got Galeon OK (view only for Japanese, English message).  I will work on it.

> Hope that helps,
> Steve

Thanks for this mail.  Since this is useful, I will post it to mailing
list.  Your e-mail shall not appear if I did this right (I guess some
people do not want to post to ML due to spam.  I have procmail to kill
them good.)

> P.S. Your basic debian guide is a really useful resource!

Thanks.
-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Osamu Aoki <debian@aokiconsulting.com> @ Cupertino, CA USA         +


-- 
To UNSUBSCRIBE, email to debian-japanese-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: