Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 1st Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

8½(1)

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 hiragana 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. 

Plan 9  —  April 04, 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026