Bug 143124
| Summary: | loadkeys -u de-latin1-nodeadkeys fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> | ||||
| Component: | kbd | Assignee: | Miloslav Trmač <mitr> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | 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
Jochen Schmitt
2004-12-16 18:26:07 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
Created attachment 109616 [details]
Suggested patch to solve the reported issue
*** Bug 142236 has been marked as a duplicate of this bug. *** 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. The upstream maintainer prevers using your patch, so kbd-1.12-5 was updated accordingly. Thanks! |