Bug 701760 - loadkeys doesn't parse Unicode characters marked as letters correctly
Summary: loadkeys doesn't parse Unicode characters marked as letters correctly
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kbd
Version: 14
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-03 19:08 UTC by Roland Kaufmann
Modified: 2011-12-14 12:59 UTC (History)
1 user (show)

Fixed In Version: kbd-1.15.2-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-14 12:59:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roland Kaufmann 2011-05-03 19:08:57 UTC
If a key is defined with a Unicode keysym and also marked as a letter using the plus sign, loadkeys complains about a syntax error.

E.g. (to assign the character 'a' to the second leftmost key in the home row on a PC keyboard):

   echo 'keycode 30 = +U+0061' | loadkeys

gives the error:

   (null):1: syntax error
   syntax error in map file
   key bindings not changed

whereas

   echo 'keycode 30 = U+0061' | loadkeys

and

   echo 'keycode 30 = +0x61' | loadkeys

do not.

`loadkeys --version` returns "loadkeys from kbd 1.15".

Comment 1 Vitezslav Crhonek 2011-12-14 12:59:56 UTC
Fixed in kbd-1.15.2-1.fc15.


Note You need to log in before you can comment on or make changes to this bug.