Mike FABIAN <mfabian@suse.de> さんは書きました: [...]
The following settings work for Greek on the console:
export LC_ALL=el_GR.ISO-8859-7 setfont iso07u-16 -m trivial echo -en "\033(K"
To get this automatically, you can edit /etc/sysconfig/console, a sample file using the values above is attached.
"philip _" <csst9923@cs.uoi.gr> found another problem: Even with the above settings, Greek was working correctly only on console 1 by default. On the consoles >= 2 it didn't work automatically, one had to repeat the echo -n -e "\033(K" each time after logging in on a console >= 2. This was because /etc/inittab contains 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 and without the option "--noclear" mingetty did a full reset of the terminal each time. This did revert the effect of the above console magic for Greek. The same problem will happen with other languages which need special console magic escape sequences. On top of that it also reverts the effect of the escape sequence used to switch the terminal into Unicode mode, i.e. if you work in a UTF-8 locale and have your terminal setup correctly for UTF-8 (for example with the script /usr/bin/unicode_start), the terminal left the Unicode mode each time you log out and log in again. I fixed that by making mingetty not use a full reset of the terminal but only clear the screen and put the cursor at the home position. The fixed mingetty is in the sysvinit packages which can be found here: ftp://ftp.suse.com/pub/people/mfabian/8.2-i586/sysvinit-2.82-286.i586.rpm ftp://ftp.suse.com/pub/people/mfabian/8.2-src/sysvinit-2.82-286.src.rpm Please update and tell me whether it is OK now. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。