openbsd-ports/japanese
2014-06-14 23:25:21 +00:00
..
canna Remove SECURITY files. They have served their purpose in the past but 2013-11-07 07:08:59 +00:00
groff PERMIT_* / REGRESS -> TEST sweep 2013-03-11 11:10:51 +00:00
gwaei Missing devel/dconf in MODULES. Packaging checked on i386. 2014-05-08 17:24:48 +00:00
jvim fix small differences in PERMIT 2013-03-11 12:17:50 +00:00
kakasi USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
kanatest PERMIT_* / REGRESS -> TEST sweep 2013-03-11 11:10:51 +00:00
kanjipad PERMIT_* / REGRESS -> TEST sweep 2013-03-11 11:10:51 +00:00
kanjips Drop USE_GROFF since groff and mandoc produce identical output. 2013-10-11 23:48:03 +00:00
kasumi Drop USE_GROFF since groff and mandoc produce identical output. 2013-10-11 23:48:03 +00:00
kbanner Drop USE_GROFF since groff and mandoc produce identical output. 2014-01-01 20:46:27 +00:00
kinput2 Drop USE_GROFF since groff and mandoc produce identical output. 2013-10-11 21:20:54 +00:00
kterm Drop USE_GROFF since groff and mandoc produce identical output. 2013-10-11 21:20:54 +00:00
less PERMIT_* / REGRESS -> TEST sweep 2013-03-11 11:10:51 +00:00
mecab Update mecab to 0.996. 2013-10-31 16:42:08 +00:00
nkf @comment zero-byte perl .bs files in all packages which don't have p5-* PKGNAMEs 2014-06-14 10:34:44 +00:00
onew switch to termios, add missing code (set_cbreak). 2013-12-08 15:09:15 +00:00
p5-Text-Kakasi @comment zero-byte perl .bs files 2014-06-14 23:25:21 +00:00
skk-jisyo Update dictionary to 20131026. 2013-10-30 20:21:11 +00:00
Wnn zap gets usage. very straightforward, since all those are to fixed sized 2014-03-23 17:22:45 +00:00
Makefile
README

The japanese tools are somewhat ackward to use and difficult to setup
for the time being. Here is some useful information.

* japanese and locale
OpenBSD does not have any true japanese locale support for the time being.
Startup errors for kterm (`can't set locale for ja...') are quite normal.

Manual pages for, e.g., jvim do install under /usr/local/man/ja_JP.EUC/,
as they are written in Japanese.
For the time being, you will have to fix your /etc/man.conf to see them,
so that the _default setup reads:

_default /usr/{share,X11R6,X386,X11,X11R4,contrib,gnu,local}/{man,man/old,man/ja_JP_EUC}/

* is kterm working ?
Once kterm is built, the distribution holds an uuencoded file (DEMO.kt.uu)
that you should be able to cat after uudecoding.
Note that the choice of fonts is reduced when you need to display japanese
or corean characters.

* jless vs. less
Normally, jless should be highly compatible with less, to the point where 
it doesn't display japanese before you set JLESSCHARSET in your
environment. iso8 is the sanest setting.

* the jvim puzzle
jvim depends on several pieces to work correctly:
- kterm for the display, jvim uses ONLY EUC mode,
- Wnn for the dictionary conversion,
- onew for the interface between Wnn and jvim.

as japanese includes thousands of characters, the only reasonable method
for inputting these is to use a dictionary: you enter your text
phonetically, then the automated dictionary makes a guess at the conversion,
and you confirm the right choice. Wnn is the dictionary server.
It needs to be started as root (this will probably be fixed in the future), 
it is called /usr/local/bin/Wnn4/jserver.

To handle conversions, jvim adds another set of modes to the usual vim
modes. 

ctrl-space, ctrl-@, or ctrl-\ is used to toggle from normal insert mode to
japanese inserts. If Wnn does not work, you can still enter
katakana/hiragana, but you will need Wnn to convert them to kanji.