From e56e091d650494e4894d24e33ab2cdb7b57dc686 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 23 Jun 2018 13:55:13 +0200 Subject: examples: update /var/service/getty for Unicode ttys Signed-off-by: Denys Vlasenko --- examples/var_service/getty_tty1/cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/var_service/getty_tty1/cfg') diff --git a/examples/var_service/getty_tty1/cfg b/examples/var_service/getty_tty1/cfg index 0f63e52..ab973f7 100755 --- a/examples/var_service/getty_tty1/cfg +++ b/examples/var_service/getty_tty1/cfg @@ -10,7 +10,7 @@ ttyname=`tty` ttybase="${ttyname%%[0123456789]*}" # strip numeric tail if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then - echo "* Activating Cyrillic KOI8-R -> CP866 font map" + echo "* Activating font map" echo -ne "\033(K" >"$ttyname" echo "* Loading screen font" @@ -18,9 +18,9 @@ if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then -C "$ttyname" \ -m "$PWD/koi8r_to_uni.trans" \ "$PWD/alt08x16+unimap.fnt" \ - || echo "! setfont failure" + || echo "setfont exit code: $?" echo "* Loading keymap" - loadkeys "$PWD/ru_koi8r.keymap" \ - || echo "! loadkeys failure" + loadkeys "$PWD/unicode_cyrillic.keymap" \ + || echo "loadkeys exit code: $?" fi -- cgit v1.1