From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25988 invoked from network); 21 Jul 2023 11:37:02 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 21 Jul 2023 11:37:02 -0000 Received: from chrisfroeschl.de ([185.183.157.17]) by 9front; Fri Jul 21 07:30:04 -0400 2023 Message-ID: Date: Fri, 21 Jul 2023 13:11:53 +0200 From: chris@chrisfroeschl.de To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: replication-aware DOM blockchain Subject: [9front] [PATCH] ktrans: update manpage to include env vars and new chinese implicit conversion Reply-To: 9front@9front.org Precedence: bulk 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