Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
SuSE Linux: Versionen ab 4.3
/etc/TextConfig
konfiguriert. Nach dem Eintragen der
gewünschten Auflösung in der Datei /etc/rc.config
, Variable
SVGATEXT
startet svgatext zwar, jedoch werden Umlaute und
Sonderzeichen nicht oder falsch dargestellt.
/etc/TextConfig
folgende (letzte) Zeile eingefügt werden:
Option "LoadFont" FontProg "/usr/bin/setfont" FontPath "/usr/lib/kbd/consolefonts" FontSelect "default8x16" 8x16 9x16 8x15 9x15 FontSelect "8x14alt" 8x14 9x14 8x13 9x13 FontSelect "8x14thin" 8x12 9x12 8x11 9x11 FontSelect "8x8thin" 8x8 9x8 8x7 9x7 FontSelect "Cyr_a8x32" 8x32 9x32 8x31 9x31 # # using the following FontProg line will avoid losing high-ascii characters # on newer Linux systems (kernels 1.3.x and up) # (mainly the IBM-style box-characters used in text-based menuing systems) FontProg "/usr/bin/loadunimap"Beachten Sie bitte die letzte Zeile!
Alternativ kann das Skript /sbin/init.d/svgatext
ergänzt
werden. Sie finden im folgenden die neue Version des Skripts:
#! /bin/sh # Copyright (c) 1996 S.u.S.E. GmbH Fuerth, Germany. All rights reserved. # # Author: Florian La Roche, 1996 # # Martin Scherbaum , 9/1996 # # /sbin/init.d/svgatext # . /etc/rc.config # # is variable set? user wants to start # if test -n "$SVGATEXTMODE"; then # # file for error logging # SVGATEXTERR=/var/lib/svgatext/svgatext-err # # is binary there? # if test -x /usr/sbin/SVGATextMode; then case "$1" in start) # # execute it with predefined mode # echo -n "Starting SVGATextMode with resolution \"$SVGATEXTMODE\"... " /usr/sbin/SVGATextMode $SVGATEXTMODE >> /var/lib/svgatext/svgatext-err # # restore fonts # test -x /usr/bin/loadunimap && /usr/bin/loadunimap >> $SVGATEXTERR 2>> $SVGATEXTERR echo "Done." ;; stop) # # execute it with default mode # echo -n "Shutting down SVGATextMode to standard \"80x25\"... " /usr/sbin/SVGATextMode "80x25" >> $SVGATEXTERR 2>> $SVGATEXTERR # # restore fonts # test -n "$FONT" && \ test "$FONT" != "YAST_ASK" && \ test -x /usr/bin/setfont && \ -d /usr/lib/kbd/consolefonts && \ /usr/bin/setfont $FONT >> $SVGATEXTERR 2>> $SVGATEXTERR test -x /usr/bin/loadunimap && /usr/bin/loadunimap >> $SVGATEXTERR 2>> $SVGATEXTERR echo "Done." ;; *) echo "Usage: $0 {start|stop}" exit 1;; esac else echo "$0: File /usr/sbin/SVGATextMode does not exist. Continuing..." fi fi exit 0
Siehe auch:
Stichwörter: SVGATEXT, CONSOLE, KONSOLE, TEXTMODUS, UMLAUTE, SONDERZEICHEN, ZEICHENSATZ, FONT
Kategorien:
Applikationen
Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel