Bug 701760

Summary: loadkeys doesn't parse Unicode characters marked as letters correctly
Product: [Fedora] Fedora Reporter: Roland Kaufmann <rlndkfmn+redhat>
Component: kbdAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Fixed In Version: kbd-1.15.2-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-14 07:59:56 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Roland Kaufmann 2011-05-03 15:08:57 EDT
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


   echo 'keycode 30 = U+0061' | loadkeys


   echo 'keycode 30 = +0x61' | loadkeys

do not.

`loadkeys --version` returns "loadkeys from kbd 1.15".
Comment 1 Vitezslav Crhonek 2011-12-14 07:59:56 EST
Fixed in kbd-1.15.2-1.fc15.