9fans archive / 1995 / 10 / 13 /    prev next

From: dmr@pla... dmr@pla...
Subject: Japanese input
Date: Tue, 3 Oct 1995 02:56:51 -0400

Okamoto-san is quite correct to observe that the input
method for Japanese provided by ktrans is very naive;
it was intended only as a demonstration.  Certainly it
is less capable than ordinary word-processing software
used in Japan years ago; it just provides for phonetic
romaji input of the kana characters, and a last-"word"
lookup in a hiragana->kanji table.

I found the bug that caused ktrans to get a fault when
trying to look up his name--it's an array overrun.
In /sys/src/cmd/ktrans/translate.c, the v array in
dotrans() is too small.  Full fix is in boddle
format in the plan9/update/cmd/ktrans directory
for WWW and ftp access at plan9.att.com.

	Dennis