openbsd-ports/japanese
2013-02-09 14:49:50 +00:00
..
canna normalize pkgpath 2011-09-16 10:02:36 +00:00
groff USE_GROFF=Yes 2010-10-18 18:13:12 +00:00
gwaei fix crash with recent glib/gtk versions. full update will happen post 5.3. 2013-02-05 23:37:06 +00:00
jvim Remove irrelevant $FreeBSD RCS ids. 2012-08-18 12:41:37 +00:00
kakasi USE_GROFF=Yes 2010-10-18 18:13:12 +00:00
kanatest zap trailing whitespace where it's present in MASTER_SITES/COMMENT 2012-10-15 15:06:41 +00:00
kanjipad - fix WANTLIB 2011-11-01 16:27:06 +00:00
kanjips add 'fonts' to their categories 2011-07-19 09:28:36 +00:00
kasumi - fix WANTLIB 2011-11-01 16:27:06 +00:00
kbanner RCS id cleanup; also add OpenBSD RCS Id where missing... 2012-08-19 22:30:36 +00:00
kinput2 Don't use ${FLAVOR:L}, we only support lower-case flavours now. 2013-02-09 14:49:50 +00:00
kterm bye bye FLAVOR:L 2011-12-02 14:36:13 +00:00
less Remove irrelevant $FreeBSD RCS ids. 2012-08-18 12:41:37 +00:00
mecab mark broken on mips64 for the same reason it's broken on hppa (lack of atomic ops) 2012-12-03 14:48:51 +00:00
nkf you DO NOT remove USE_GROFF when mandoc -Wall outputs 97 lines of ERRORS ! 2011-01-09 13:52:53 +00:00
onew bye bye FLAVOR:L 2011-12-02 14:36:13 +00:00
p5-Text-Kakasi sync wantlib 2012-08-23 15:50:05 +00:00
skk-jisyo import skk-jisyo, a dictionary for the SKK system. 2012-09-11 15:04:54 +00:00
Wnn add BUILD_DEPENDS devel/imake and point Makefile to the imake config 2012-09-23 08:07:04 +00:00
Makefile Hook skk-jisyo 2012-09-11 15:09:11 +00:00
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.