From 56fffa9954db654c1731e07f753c3de105896455 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Sun, 2 Mar 2008 16:31:34 +0200 Subject: Always load defkeymap It seems that there's a bug in the kernel 2.6.24, which makes the built-in defkeymap to produce incorrect composite chars. Thus keymaps that don't have 'include "compose.latin1"' have issues (FS#9593). While it is better to fix this bug in kernel and all affected keymaps loading defkeymaps before other keymaps seems to not hurt anyway. Signed-off-by: Roman Kyrylych --- rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index e57d904..b2b916e 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -381,7 +381,7 @@ if echo "$LOCALE" | /bin/grep -qi utf ; then # the $CONSOLE check helps us avoid this when running scripts from cron echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e%%G"; fi' >>/etc/profile.d/locale.sh stat_done - status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q -u $KEYMAP + status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q -u defkeymap $KEYMAP else stat_busy "Setting Consoles to legacy mode" # make non-UTF-8 consoles work on 2.6.24 and newer kernels @@ -392,7 +392,7 @@ else # the $CONSOLE check helps us avoid this when running scripts from cron echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e%%@"; fi' >>/etc/profile.d/locale.sh stat_done - status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q $KEYMAP + status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q defkeymap $KEYMAP fi if [ -n "$CONSOLEFONT" ]; then -- cgit v1.2.3