I use Slackware 13.1. So far I chose during the installation of the system lat2a-16.psfu.gz font and my applications worked well in console mode. Now the same applications with the same font display gridded rectangles instead of some diacritical characters.
In /etc/rc.d/rc.font I have standard setfont -v lat2a-16.psfu.gz command:
/etc/rc.d/rc.font:
Code:
setfont -v lat2a-16.psfu.gz
In /etc/rc.d/rc.keymap I have standard loadkeys pl2.map command:
/etc/rc.d/rc.keymap:
Code:
if [ -x /usr/bin/loadkeys ]; then /usr/bin/loadkeys pl2.map; fi
Standard setfont -v lat2a-16.psfu.gz command reports for some reason loading of the Unicode mapping table:
# setfont -v lat2a-16.psfu.gz
Code:
Loading 256-char 8x16 font from file /usr/share/kbd/consolefonts/lat2a-16.psfu.gz
Loading Unicode mapping table...
The above command with the switch 8859-2 do the same:
# setfont -m 8859-2 -v lat2a-16.psfu.gz
Code:
Loading symbolic screen map from file /usr/share/kbd/consoletrans/8859-2_to_uni.trans
Loading 256-char 8x16 font from file /usr/share/kbd/consolefonts/lat2a-16.psfu.gz
Loading Unicode mapping table...
In /etc/lilo.conf I have standard vt.default_utf8=0 setting:
/etc/lilo.conf:
Code:
append="vt.default_utf8=0"
In /etc/profile.d/lang.sh I have LANG=en_US setting:
/etc/profile.d/lang.sh:
The command kbd_mode displays the information about the keyboard working in the Unicode mode:
# kbd_mode
Code:
The keyboard is in Unicode (UTF-8) mode
I examined /etc/rc.d directory but I didn’t find the setting switching the console to the Unicode mode. The same with env and set commands outputs.
I tried to overwrite Slackware 13.1 /usr/share/kbd/consolefonts/lat2a-16.psfu.gz with lat2a-16.psfu.gz file provided in kbd packages from Slackware 12.2 and 11.0 but the results were the same.
I suppose the problem is caused by improper handling of the system settings by the kernel but I’m not sure.
So I ask you how can I get rid of Unicode console font and keyboard layout and come back to ISO-8859-2 font and keyboard?