9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] ktrans: update manpage to include env vars and new chinese implicit conversion
@ 2023-07-21 11:11 chris
  0 siblings, 0 replies; only message in thread
From: chris @ 2023-07-21 11:11 UTC (permalink / raw)
  To: 9front

diff c89dad0b9258f32ee3365400d5d4f4920aaa3f77 uncommitted
--- a/sys/man/1/ktrans
+++ b/sys/man/1/ktrans
@@ -148,9 +148,10 @@
 we have successfully communicated to krans when to reset the explicit
 match buffer without needing to explicitly give a ctl-l character.
 .SH CHINESE
-The Wubizixing input method is used. No implicit conversion is done,
-explicit conversion interprets Latin characters as their Wubi counterparts
-to do lookup of Hanzi.
+The Wubizixing input method is used by default. Implicit conversion is done
+for common chinese punctuation. Explicit conversion is done by matching
+of the current Latin input characters to their respective hanzi match of
+the currently configured dictionary.
 .SH RUSSIAN
 Implicit layer converts latin to Cyrillic; the transliteration is mostly
 phonetic, with
@@ -192,6 +193,14 @@
 
 where [^\e] and [^l] indicate 'ctl-\e' and 'ctl-l',
 respectively.
+Chinese input works in the same manner.
+.SH ENVIRONMENT VARIABLES
+.TP
+.B jisho
+Configure custome japanese dictionary. Default: /lib/ktrans/kanji.dict
+.TP
+.B zidian
+Configure custome chinese dictionary. Default: /lib/ktrans/wubi.dict
 .SH SOURCE
 .B /sys/src/cmd/ktrans
 .SH SEE ALSO

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-21 11:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 11:11 [9front] [PATCH] ktrans: update manpage to include env vars and new chinese implicit conversion chris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).