1 --- kbd-2.5.1/src/unicode_start.orig 2022-08-20 19:32:56.350906358 +0200
2 +++ kbd-2.5.1/src/unicode_start 2022-08-20 19:58:04.852734102 +0200
3 @@ -11,6 +11,14 @@ case "$TTY" in
8 +if [ -r /etc/sysconfig/console ]; then
9 + . /etc/sysconfig/console
10 + if [ -n "$KEYTABLE_CHARSET" ]; then
11 + DUMPKEYS_OPT="-c$KEYTABLE_CHARSET"
15 # Enables Unicode processing in the current console.
17 # 1. The input side: the keyboard driver.
18 @@ -49,13 +57,13 @@ if [ "$uid" = 0 ]; then
21 [ ! -w "$HOME/.kbd" ] ||
22 - dumpkeys > "$HOME/.kbd/.keymap_sv"
23 + dumpkeys $DUMPKEYS_OPT > "$HOME/.kbd/.keymap_sv"
26 # redirect stderr and stdout of loadkeys to /dev/null to avoid the confusing
27 # "plus before udiaeresis ignored" warnings.
29 - dumpkeys | loadkeys --unicode > /dev/null 2>&1
30 + dumpkeys $DUMPKEYS_OPT | loadkeys --unicode > /dev/null 2>&1
33 # 2. The output side: the console screen.