PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Setfont
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Setfont

Réponse
 
LinkBack Outils de la discussion
Vieux 30/07/2007, 19h50   #1
Loeghmon T. Nejad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 .



#!/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,

  Réponse avec citation
Vieux 31/07/2007, 14h20   #2
Bert Schulze
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Setfont

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
  Réponse avec citation
Vieux 03/08/2007, 21h40   #3
Jamin Davis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Setfont

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h06.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10223 seconds with 11 queries