term% cat index.txt KTRANS(1) General Commands Manual KTRANS(1)
NAME
ktrans - language transliterator
SYNOPSIS
ktrans
DESCRIPTION
The ktrans program installs itself between the keyboard and /dev/cons
and transliterates typed letter sequences into characters in languages
that do not use the Latin character set. The language is selected by
typing a control character:
ctl-E return to default English mode (no transliteration).
ctl-G Japanese hiragana: interpret lower-case letters as a Hepburn
representation of hiragana. In this mode, typing ctl-T looks up
the last ‘word' in a hiragana-kanji dictionary and replaces it.
Subsequent ctl-T characters cycle through the possibilities. A
word is the longest immediately preceding unbroken string of hi‐
ragana characters.
ctl-K Japanese katakana.
ctl-R Russian: interpret letters as Cyrillic; the transliteration is
mostly phonetic, with ' for myagkij-znak (Ñ), '' for tverdyj-
znak (Ñ) yo for Ñ, j for i-kratkaya (й).
ctl-L Greek.
FILES
/dev/kbd
SOURCE
/sys/src/cmd/ktrans
SEE ALSO
8½(1)
BUGS
Considerably more sophistication is required to support ideographic
languages properly.
There is no way to generate the control characters literally.
KTRANS(1)