Bug 143124 - loadkeys -u de-latin1-nodeadkeys fails
Summary: loadkeys -u de-latin1-nodeadkeys fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kbd
Version: rawhide
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact:
URL:
Whiteboard:
: 142236 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-16 18:26 UTC by Jochen Schmitt
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 1.12-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-19 22:41:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Suggested patch to solve the reported issue (344 bytes, patch)
2005-01-11 16:09 UTC, Jochen Schmitt
no flags Details | Diff

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!


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