62 lines
1.8 KiB
HTML
62 lines
1.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>The Hebrew HOWTO: Virtual Consoles (VCs)</TITLE>
|
|
<LINK HREF="Hebrew-HOWTO-4.html" REL=next>
|
|
<LINK HREF="Hebrew-HOWTO-2.html" REL=previous>
|
|
<LINK HREF="Hebrew-HOWTO.html#toc3" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Hebrew-HOWTO-4.html">Next</A>
|
|
<A HREF="Hebrew-HOWTO-2.html">Previous</A>
|
|
<A HREF="Hebrew-HOWTO.html#toc3">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s3">3. Virtual Consoles (VCs)</A></H2>
|
|
|
|
<P>Every distribution of Slackware comes with kbd; the package is called
|
|
keytbls under Slackware (a4 in 2.3.0 - kbd 0.90). Joel Hoffman has contributed
|
|
Hebrew fonts and keymaps from his original codepage.tar.Z file. Look under
|
|
/usr/lib/kbd for iso08.* files. It follows ISO 8859-8 and the Hebrew keytables
|
|
and maps.
|
|
<P>Put the following lines in /etc/rc.d/rc.local:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
-----
|
|
#!/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
|
|
-----
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
<P>NOTE: If you are using X Windows be careful with "setleds", it may hang the X
|
|
server.
|
|
<P>The above setup works fine with the Hebrew version of pico (pine) and
|
|
displays correctly ISO 8859-8 Hebrew (X Windows, MS Windows).
|
|
<P>
|
|
<HR>
|
|
<A HREF="Hebrew-HOWTO-4.html">Next</A>
|
|
<A HREF="Hebrew-HOWTO-2.html">Previous</A>
|
|
<A HREF="Hebrew-HOWTO.html#toc3">Contents</A>
|
|
</BODY>
|
|
</HTML>
|