Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14306 - /etc/init.d/keymaps does not switch keyboard to unicode mode...
Summary: /etc/init.d/keymaps does not switch keyboard to unicode mode...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 11:53 UTC by Danny Milosavljevic
Modified: 2003-01-21 16:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Milosavljevic 2003-01-21 11:53:39 UTC
the keymaps init script does not switch the keyboard to unicode mode if setting f. e. KEYMAP="-u de-latin1-nodeadkeys" in /etc/rc.conf... this leads loadkeys to complaining... no big deal though :)

patch:
--- keymaps.ORIG        2003-01-21 18:47:14.000000000 +0100
+++ keymaps     2003-01-21 18:47:36.000000000 +0100
@@ -19,6 +19,14 @@
 start() {
        checkconfig || return 1
        ebegin "Loading key mappings"
+
+       set -- ${KEYMAP}
+       if [ "$1" = "-u" ]
+       then
+               /usr/bin/kbd_mode -u
+       fi
+
        #new kbd support
        if [ -x /bin/loadkeys ]
        then
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-21 16:02:51 UTC
Fixed on cvs, thanks.  This should hit baselayout-1.8.6.3.