|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 . #!/bin/sh # # M. Ghassab Shiran # Email: shiran@scn.de # # 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, |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 30 Jul., 19:50, "Loeghmon T. Nejad" <loegh...@gmail.com> wrote:
> 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 > " Hi, as the script tells you, it cant locate those two binaries. Now the question is: is your PATH environment set correctly to find binaries in /bin /usr/bin etc? Or did you just miss to have the needed packages which contain them? apt-file search setfont|grep bin kbd: usr/bin/setfont kbd-compat: usr/bin/setfont $ apt-file search mapscrn|grep bin kbd: usr/bin/mapscrn kbd-compat: usr/bin/mapscrn so install kbd and try again (; -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Loeghmon T. Nejad <loeghmon@gmail.com> wrote:
> 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, I think you are missing the 'kbd' package which contains setfont and mapscrn requested my your script: run apt-get install kbd. -- Jamin @ Home: Chester UK -<jamin@ghost.merseine.nu> -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|