Hi,
I have a minimal installation of Debian Etch (with xserver-xorg-core
installed) that gives me an error message when I run the script -at the
bottom of this email.
The message says,
"
setfont: command not found
mapscrn: command not found
"
Can you please tell me what I am doing wrong? This script is part of a
procedure that allows one to use Vim in Farsi -right to left-
script.Thanksfor your help.
#!/bin/sh
#
# M. Ghassab Shiran
# Email: [EMAIL PROTECTED]
#
# setup-io.farsi script for Linux.
#
# Execute this script during the startup or anytime as a superuser.
#
# Put any local setup commands in here.
#
INITTY=/dev/tty[1-7]
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
#
# Latin/Farsi keyboard/console
#
setfont far-a01.f16
mapscrn trivial
loadkeys us
# enable mapping
for tty in $INITTY
do
echo -n -e "\\033(K" >$tty
done
#---
--
Regards,