diff f70cf0b70eb2b9b6cdf7208bf775189c724eb446 uncommitted --- a/sys/man/1/ktrans +++ b/sys/man/1/ktrans @@ -24,29 +24,47 @@ .I kbdtap file is given, it is used for both input and output instead. -.I Ktrans -starts in a passthrough mode, echoing out -the input with no conversions. Control characters -are used to give instructions, the following -control sequences are used to switch between languages: +By default +.I ktrans +starts in passthrough mode, echoing out +the input with no conversions. The initial +language is set with the +.B -l +flag. After operation has begun, the language +may be changed by either typing a control sequence +and/or through the plumber. +The following table provides the control +sequence and +.I lang +strings accepted for each supported language respectfully. .TP -.B ctl-t English (Passthrough). +ctl-t and en .TP -.B ctl-n Japanese Hiragana. +ctl-n and jp .TP -.B ctl-k Japanese Katakana. +ctl-k and jpk .TP -.B ctl-c Chinese. +ctl-c and zh .TP -.B ctl-s Korean. +ctl-k and ko .TP -.B ctl-v Vietnamese. +ctl-v and vn +.PP +.I Ktrans +listens on the +.I lang +plumber port for switching languages. The data accepted +on this port is the same as the +.B -l +flag's +.I lang +argument. .SH CONVERSION Conversion is done in two layers, an implicit layer for unambiguous mappings, and an explicit