Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142201 Details for
Bug 208178
[PATCH] /etc/init.d/keymaps doesn't set console mode correctly (since kernel 2.6.24?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Buxfix for this issue
keymaps_fix.patch (text/plain), 1.32 KB, created by
mrsteven
on 2008-01-30 16:02:56 UTC
(
hide
)
Description:
Buxfix for this issue
Filename:
MIME Type:
Creator:
mrsteven
Created:
2008-01-30 16:02:56 UTC
Size:
1.32 KB
patch
obsolete
>--- /etc/init.d/keymaps.orig 2008-01-29 23:49:53.000000000 +0000 >+++ /etc/init.d/keymaps 2008-01-30 15:43:16.000000000 +0000 >@@ -34,11 +34,6 @@ > echo 1 > /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes > fi > >- # Turn on unicode if user wants it >- if [[ ${UNICODE} == "yes" ]] ; then >- /usr/bin/kbd_mode -u >- fi >- > ebegin "Loading key mappings" > if [[ -x /bin/loadkeys ]] ; then > [[ ${SET_WINDOWKEYS} == "yes" ]] && WINDOWKEYS_KEYMAP="windowkeys" >@@ -52,7 +47,7 @@ > > # Set terminal encoding to either ASCII or UNICODE. > # See utf-8(7) for more information. >- local termencoding="" termmsg="" >+ local termencoding="" termmsg="" keyboardmode="" > if [[ ${UNICODE} == "yes" ]] ; then > local dumpkey_opts="" > [[ -n ${DUMPKEYS_CHARSET} ]] && dumpkey_opts="-c ${DUMPKEYS_CHARSET}" >@@ -60,9 +55,11 @@ > dumpkeys ${dumpkey_opts} | loadkeys --unicode > termencoding=$'\033%G' > termmsg="UTF-8" >+ keyboardmode="-u" > else >- termencoding=$'\033(K' >+ termencoding=$'\033(K\033%@' > termmsg="ASCII" >+ keyboardmode="-a" > fi > local n ttydev="" > [[ -d /dev/vc ]] \ >@@ -71,6 +68,8 @@ > ebegin "Setting terminal encoding to ${termmsg}" > for n in $(seq 1 "${RC_TTY_NUMBER}") ; do > echo -n -e ${termencoding} > ${ttydev}${n} >+ # Set keyboard mode for all ttys. >+ /usr/bin/kbd_mode ${keyboardmode} -C ${ttydev}${n} > done > eend 0 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208178
: 142201