Setfont



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: shiran@xxxxxx
#
# 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,


Relevant Pages

  • Re: Form Security
    ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
    (comp.lang.php)
  • Re: [opensuse] CUPS error "client-error-not-authorized"
    ... For these type of Canon copier/printers there is ... Running this script in 10.0 and in 10.1 worked perfectly, ... is fine until the last step, then it gives the error message ... configuration command "codehost-config", ...
    (SuSE)
  • RE: Cannot Edit Logion Scripts
    ... remove the script that you would like to edit. ... Please capture a screenshot of the error message received on the client ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Error in script of Internet Explorer
    ... Uncheck the box to Display a notification about every script error. ... Windows Script 5.6 for Windows 2000 and XP ... Error Message When You Browse the Web: An Error Has Occurred in the Script ... Please reply to the newsgroup so others may benefit. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Sound file
    ... There shouldn't be any problems in the limited user accounts. ... The only other problem just about has to be with the attaching of the .wav ... > Common script errors messages can be eliminated by Clicking: ... >> click on the html file we get an error message and the wav file does ...
    (microsoft.public.windowsxp.accessibility)