Next Previous Contents

3. Virtual Consoles (VCs)

Slackware 的每個版本都包含 kbd. 這個包裹在 Slackware 裡叫做 keytbls(a4 in 2.3.0 - kbd 0.90). Joel Hoffman 將他所寫的希伯來文字型和 keymap 放在檔案 codepage.tar.Z 中. 請在 /usr/lib/kbd 目錄下找到檔名格式為 iso08.* 的檔案. 這些包含 ISO 8859-8 及希伯來文的 keytables 和 map.

在 /etc/rc.d/rc.local 加入以下句子:

-----
#!/bin/sh
#       Put any local setup commands in here
#
INITTY=/dev/tty[1-6]
PATH=/sbin:/etc:/bin:/usr/sbin:/usr/bin
#
#       kbd - Set the the console font and keyboard
#       set numlock and set metabit mode on tty1 .. tty8
for tty in $INITTY
do
#       setleds -D +num < $tty > /dev/null
        setmetamode metabit < $tty > /dev/null
done
#       Latin8(Hebrew) keyboard/console
setfont iso08.f16
mapscrn trivial
loadkeys Hebrew
#       enable mapping
for tty in $INITTY
do
        echo -n -e "\\033(K" >$tty
done
-----

注意: 若使用 X Windows, 請小心使用 "setleds", 它可能會使 X 伺服器當掉.

以上的設定方式適用於希伯來文版的 pico (pine), 也可以在 ISO 8859-8 Hebrew (X Windows, MS Windows) 中正確顯示.


Next Previous Contents