Re: [PATCH] Fix autodetection of UNICODE keymap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/2010 01:48 PM, Andrey Borzenkov wrote:

Thu, 12 Aug 2010 13:08:25 +0200 письмо от Harald Hoyer<harald@xxxxxxxxxx>:

On 08/12/2010 01:05 PM, Harald Hoyer wrote:
On 08/11/2010 07:47 PM, Andrey Borzenkov wrote:
+
+ # KEYTABLE is a bit special - it defines base keymap name and UNICODE
+ # determines whether non-UNICODE or UNICODE version is used
+
+ if [[ ${KEYTABLE} ]]; then
+ if [[ ${UNICODE} == 1 ]]; then
+ [[ ${KEYTABLE} =~ .*\.uni.* ]] || KEYTABLE=${KEYTABLE%.map*}.uni
+ fi
+
+ KEYMAP=${KEYTABLE}
+ fi

On Fedora we would end with:

KEYTABLE="de-latin1-nodeadkeys"

at

KEYMAP="de-latin1-nodeadkeys.uni"

which does not exist.


Could you send me your /etc/sysconfig/keyboard (or where these are defined)?

So, in other words - you have UTF-8 environment but load non-UNICODE keyboard?

Fedora's console_init calls "loadkeys" with "-u", if its LANG has .UTF-8

It does not help here, unfortunately. Which version of initscripts is it?
--


http://git.fedorahosted.org/git/?p=initscripts.git;a=blob;f=src/console_init.c

It's been like this forever...

http://git.fedorahosted.org/git/?p=initscripts.git;a=history;f=src/console_init.c

# loadkeys -u de-latin1-nodeadkeys
Loading /lib/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux