Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293777 - sys-apps/kbd-1.15.1: loadkeys: (null):824: unicode keysym out of range: U+ffff when keymap="cf"
Summary: sys-apps/kbd-1.15.1: loadkeys: (null):824: unicode keysym out of range: U+ff...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 22:24 UTC by Jonathan Thibault
Modified: 2022-06-03 01:20 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 Jonathan Thibault 2009-11-19 22:24:54 UTC
The /etc/init.d/keymaps on utf-8 systems calls:

dumpkeys -c <dumpkeys_charset> | loadkeys --unicode

However, the output of dumpkeys is out of loadkeys range for compose statements on my system where keymaps="cf".  For example I get:

compose 'i' 'j' to U+ffffffff

which would be on a system with keymap="us" or "fr":

compose 'i' 'j' to U+00ff

Obviously, loadkeys will reject anything above U+f000 so it fails.

Reproducible: Always

Steps to Reproduce:
1. enable unicode in rc.conf system with sys-apps/kbd-1.15.1
2. set keymap to "cf" in /etc/conf.d/keymaps
3. set dumpkeys_charset to iso-8851-1 in /etc/conf.d/keymaps
4. restart /etc/init.d/keymaps
Actual Results:  
* Loading key mappings [cf]...                                            [ ok ]
* Setting keyboard mode [UTF-8]...
loadkeys: (null):824: unicode keysym out of range: U+ffff                 [ ok ]


Expected Results:  
* Loading key mappings [cf]...                                            [ ok ]
* Setting keyboard mode [UTF-8]...                                        [ ok ]
Comment 1 Jonathan Thibault 2009-11-20 16:11:55 UTC
It seems like disabling the:

compose as usual for "iso-8859-1"

line in the cf.map keymap solves the out of range dumpkeys output.  However I do not know enough about keymaps to know if that breaks anything else.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 01:19:44 UTC
Let us know if this is still an issue.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 01:20:43 UTC
I suspect this is fixed with https://github.com/OpenRC/openrc/commit/89a2d76772ae889068316c8a47df4ee13bac09f1.