|
发表于 2003-11-13 20:59:58
|
显示全部楼层
there is some difference ...
-- this is not step by step,
-- but i think it's clear enough.
-- apply kernel patches ...
vd_unicon-core-3.0.4-20010924-kernel-2.4.x.patch
vd_unicon-fonts-3.0.4-20010924.patch.bz2
vd_unicon-3.0.4-20010924-kernel-2.4.22.patch
-- rebuid kernel with ...
CONFIG_UNICON=y
CONFIG_UNICON_GB=m
CONFIG_UNICON_GBK=m
CONFIG_UNICON_BIG5=m
CONFIG_UNICON_EUCJP=m
CONFIG_UNICON_JIS=m
CONFIG_UNICON_SJIS=m
CONFIG_UNICON_KSCM=m
-- apply unicon patche ...
vd_unicon-3.0.4-20010924-fix.patch.bz2
-- make & install unicon ...
% ./configure --prefix=/usr
% make -C tools
% make -C unimap
# make -C tools install
# make -C unimap install
-- edit `rc.unicon' ...
#!/bin/sh
#
# UNICON
if [ -f /lib/modules/`/bin/uname -r`/kernel/drivers/video/unicon/unikey.o -a -x /usr/bin/uniconctrl ]; then
/sbin/insmod unikey
/sbin/insmod encode-eucjp
/usr/bin/loadunimap /usr/lib/unicon/direct.uni
#/usr/bin/consolechars --sfm /usr/lib/unicon/direct.uni
/usr/bin/uniconctrl --eucjp tty1
/usr/bin/uniconctrl --eucjp tty2
/usr/bin/uniconctrl --eucjp tty3
/usr/bin/uniconctrl --eucjp tty4
/usr/bin/uniconctrl --eucjp tty5
/usr/bin/uniconctrl --eucjp tty6
fi |
|