Bug 143124

Summary: loadkeys -u de-latin1-nodeadkeys fails
Product: [Fedora] Fedora Reporter: Jochen Schmitt <jochen>
Component: kbdAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.12-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-19 22:41:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Suggested patch to solve the reported issue none

Description Jochen Schmitt 2004-12-16 18:26:07 UTC
When I try to enter 

loadkeys -u de-latin1-nodeadkeys,

I get the error mesage:

unknown keysym 'Meta_acute'
/lib/kbd/keymaps/i386/qwertz/de-latin1.map.gz:34: syntax error
syntax error in map file

This coused, that I not get a german keymaping on my computer.

The following packages are installed:

kbd-1.12-2
glibc-2.3.3-93
kernel-2.6.9-1.1014_FC4 (self compiled)

Best Regards:

Jochen Schmitt

Comment 1 Jochen Schmitt 2005-01-05 17:34:44 UTC
I have make a code review and found the folowing linex in ksyms.c:
	
if (!strncmp(s, "Meta_", 5)) {
        keycode = ksymtocode(s+5);
	if (KTYP(keycode) == KT_LATIN)
		return K(KT_META, KVAL(keycode));
	/* fall through to error printf */
}

The file de-latin1.map contains a line with 'Meta_acute', so loadkeys
will run in the error branch, if you call it with the -u option.

Without the -u option you will not get a error message, but its load
not the unicode map.

Best Regards:

Jochen Schmitt

Comment 2 Jochen Schmitt 2005-01-11 16:09:05 UTC
Created attachment 109616 [details]
Suggested patch to solve the reported issue

Comment 3 Miloslav Trmač 2005-02-18 23:59:18 UTC
*** Bug 142236 has been marked as a duplicate of this bug. ***

Comment 4 Miloslav Trmač 2005-02-19 22:41:32 UTC
Actually, Meta_acute doesn't make sense at all (it is either "esc acute"
or "acute with bit 7 set", depending on console settings - but
"acute with bit 7 set" is equal to "acute").

Meta_acute should be removed from both German keymaps in kbd-1.12-4.

Comment 5 Miloslav Trmač 2005-02-20 21:31:32 UTC
The upstream maintainer prevers using your patch, so kbd-1.12-5 was
updated accordingly.

Thanks!