PLD Linux Forum
Oficjalne forum dystrybucji PLD Linux

Problemy początkujących - Polskie znaki w TTY.

tomek82 - 21 Grudzień 2014, 15:51
Temat postu: Polskie znaki w TTY.
System instalowany był przy pomocy chroot, jest w pełni zaktualizowany i dla samej zasady szukam rozwiązania jak zmusić PLD do poprawnej obsługi polskich znaków. Wszystko zostało wykonane zgodnie z dokumentacją, choć mogłem coś przeoczyć ... Poniżej konfigi i lista pakietów:
Kod:
[root@pld ~]# cat /etc/sysconfig/console
# SVGATextMode's mode (optional)
#SVGATEXTMODE=100x37x9_SVGA

# Console font file name (take one from /lib/kbd/consolefonts dir).
# Determines the set of available characters, the typeface and the number
# of character lines on the screen. Other options may be specified after
# the font name, e.g. -u iso02 (but you don't need it).
# CONSOLEFONT=latarcyrheb-sun16
CONSOLEFONT=lat2u-16

# If the font doesn't include a mapping between font glyphs and Unicode,
# the map can be specified here (take one from from /lib/kbd/unimaps dir).
# This is not needed with most modern fonts.
# CONSOLESCREENFONTMAP=lat2u

# Application-charset map file name (take one from /lib/kbd/consoletrans
# dir). Determines the encoding used by the console when in single-byte
# (non-Unicode) mode.
# For old latin-2 behaviour use this:
# CONSOLEMAP=/lib/kbd/consoletrans/8859-2_to_uni.trans
CONSOLEMAP=8859-2

# UTF-8 example using terminus-font-console package:
#CONSOLEFONT=ter-v14n
#CONSOLESCREENFONTMAP=

# Keyboard table file name
KEYTABLE=pl2

# Terminals affected with font change when using framebuffer
SET_FONT_TERMINALS="1 2 3 4 5 6 7 8"

# Turn on powersave on console?
POWER_SAVE=no
BLANK_TIME=10
POWERDOWN_TIME=60

# Colours of console. Possible values:
# black|red|green|yellow|blue|magenta|cyan|white|default
#FOREGROUND_COLOUR=red
#BACKGROUND_COLOUR=green

# Setting of leds (on|off). Default is off:
NUM_LOCK=on

# Setting of internal beeper of computer [0-2000]
# 0 - disable beeper completelly
#BEEP_LENGTH=0
# The beepers frequency
#BEEP_FREQ=400


Kod:
[root@pld ~]# cat /etc/sysconfig/i18n

# NOTE: Do not use expressions here, systemd does not expand them:
# LANG="${LANG:-en_US.UTF-8}"
#
#LANG=en_US.UTF-8
#LANG=pl_PL.UTF-8

# list of locales to build if glibc-localedb-all package is not installed
# enable, install "localedb-src" package and execute "localedb-gen"
#SUPPORTED_LOCALES="C.UTF-8/UTF-8 en_US.UTF-8/UTF-8 en_US/ISO-8859-1"

SUPPORTED_LOCALES="pl_PL.UTF-8/UTF-8 pl_PL/ISO-8859-2 en_US.UTF-8/UTF-8"

LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl_PL.UTF-8"
SYSFONT="lat2u-16"
UNIMAP="lat2u"
SYSFONTACM="iso02"

Kod:
[root@pld ~]# lsb_release -a
LSB Version:    lsb-4.0-amd64:lsb-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID:    PLD
Description:    PLD Linux
Release:    3.0
Codename:    Th

Kod:
[root@pld ~]# rpm -qa | grep font
xorg-lib-libfontenc-1.1.2-1.x86_64
xorg-lib-libXfont-1.5.0-1.x86_64
fontconfig-libs-2.11.1-1.x86_64
fontconfig-2.11.1-1.x86_64
fontpostinst-0.1-16.noarch
X11-fonts-7.7-5.x86_64
xorg-font-encodings-1.0.4-1.noarch
xorg-font-font-alias-1.0.3-2.noarch
xorg-font-font-adobe-utopia-type1-1.0.4-2.noarch
xorg-font-font-arabic-misc-1.0.3-2.noarch
xorg-font-font-bh-ttf-1.0.3-3.noarch
xorg-font-font-bh-type1-1.0.3-2.noarch
xorg-font-font-bitstream-type1-1.0.3-2.noarch
xorg-font-font-daewoo-misc-1.0.3-2.noarch
xorg-font-font-dec-misc-1.0.3-2.noarch
xorg-font-font-ibm-type1-1.0.3-2.noarch
xorg-font-font-isas-misc-1.0.3-2.noarch
xorg-font-font-micro-misc-1.0.3-2.noarch
xorg-font-font-misc-ethiopic-1.0.3-2.noarch
xorg-font-font-misc-meltho-1.0.3-2.noarch
xorg-font-font-misc-misc-1.1.2-2.noarch
xorg-font-font-mutt-misc-1.0.3-2.noarch
xorg-font-font-schumacher-misc-1.1.2-2.noarch
xorg-font-font-sony-misc-1.0.3-2.noarch
xorg-font-font-sun-misc-1.0.3-2.noarch
xorg-font-font-xfree86-type1-1.0.4-2.noarch
xorg-font-font-util-1.3.0-2.x86_64
xorg-font-font-adobe-100dpi-1.0.3-2.noarch
xorg-font-font-adobe-utopia-100dpi-1.0.4-2.noarch
xorg-font-font-bh-100dpi-1.0.3-2.noarch
xorg-font-font-bh-lucidatypewriter-100dpi-1.0.3-2.noarch
xorg-font-font-bitstream-100dpi-1.0.3-2.noarch
X11-fonts-100dpi-7.7-5.x86_64
xorg-font-font-adobe-75dpi-1.0.3-2.noarch
xorg-font-font-adobe-utopia-75dpi-1.0.4-2.noarch
xorg-font-font-bh-75dpi-1.0.3-2.noarch
xorg-font-font-bh-lucidatypewriter-75dpi-1.0.3-2.noarch
xorg-font-font-bitstream-75dpi-1.0.3-2.noarch
X11-fonts-75dpi-7.7-5.x86_64
xorg-font-font-misc-misc-ISO8859-2-1.1.2-2.noarch
X11-fonts-ISO8859-2-7.7-5.x86_64
xorg-font-font-cursor-misc-1.0.3-2.noarch
xorg-font-font-misc-misc-base-1.1.2-2.noarch
X11-fonts-base-7.7-5.x86_64
X11-fonts-utils-7.7-5.x86_64
fonts-TTF-RedHat-liberation-2.00.1-3.noarch
xorg-lib-libXfontcache-1.0.5-2.x86_64
terminus-font-console-4.39-1.noarch
terminus-font-X11-4.39-1.noarch

W systemie uruchamiany na trzecim poziomie uruchamiania po zmianach w pliku /etc/sysconfig/console wykonywałem:
Kod:
service console restart

Pojawiał się komunikat błędu "8859-2 file not found [...]". Nie pomogło dowiązanie symboliczne:
Kod:
ln -s /lib/kbd /usr/share/kbd

ani skopiowanie katalogu kbd.

Czy ktoś jest w stanie coś poradzić?


Powered by phpBB modified by Przemo © 2003 phpBB Group