9front - general discussion about 9front
 help / color / mirror / Atom feed
From: chris@chrisfroeschl.de
To: 9front@9front.org
Subject: [9front] [PATCH] ktrans: update manpage to include env vars and new chinese implicit conversion
Date: Fri, 21 Jul 2023 13:11:53 +0200	[thread overview]
Message-ID: <CF9805402E372E4B5DE3664AF2A4E2FC@chrisfroeschl.de> (raw)

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

                 reply	other threads:[~2023-07-21 11:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CF9805402E372E4B5DE3664AF2A4E2FC@chrisfroeschl.de \
    --to=chris@chrisfroeschl.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).