Re: console + japanese input
Hi,
At Wed, 6 Nov 2002 15:21:20 +0100,
Jakub Turski wrote:
> In short: is there a possibility of japanese input/output without X?
kon2 and jfbterm. They can use EUC-JP and ISO-2022-JP at the same
time.
In future, normal Linux console may be able to output Japanese...
http://www.kernelnewbies.org/status/latest.html
http://linuxconsole.sourceforge.net/
when Linux kernel 2.6 will be released.
Japanese input is much more difficult.
* emacs21 can input not only Japanese but also various languages,
with adding packages like egg, skk, and so on. Of courese you
can input Japanese with various emacs-lisp softwares.
* skkfep will serve you a console with Japanese-input feature
(with skk-based Japanese input engine). However, it sometimes
break screen if it is used with curses-based softwares.
* uum and canuum are softwares similar to skkfep. They work with
freewnn and canna, respectively, instead of skk. However, they
are not available as Debian packages. (I heard that they are
not maintained anymore in upstream and have security problems.
I might be wrong on this point.)
* there are several *-canna packages which can connect directly
with canna, like jed-canna. However, by using this approach,
you can input Japanese only when you use these softwares.
> In long: right now, I'm using jfbterm + xjdic, to lookup things in dic-
> tionary. What should I do in order to make vim6 aware of japanese
> language?
I think vim6 is locale-sensible software. All you have to do is:
# dpkg-reconfigure locales
and enable "ja_JP EUC-JP" locale; then type
$ export LANG=ja_JP.eucJP
or write it in your ~/.bashrc if you use bash.
Of course your console will have to recognize EUC-JP encoding.
Since you are using jfbterm, it should already be prepared.
---
Tomohiro KUBOTA <kubota@debian.org>
http://www.debian.or.jp/~kubota/
"Introduction to I18N" http://www.debian.org/doc/manuals/intro-i18n/
Reply to: