Opened 12 years ago
Closed 12 years ago
#3239 closed enhancement (fixed)
Kbd-1.15.5
Reported by: | Matthew Burgess | Owned by: | Matthew Burgess |
---|---|---|---|
Priority: | normal | Milestone: | 7.3 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
New version. Release announcement at http://lists.altlinux.org/pipermail/kbd/2012-December/000365.html.
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
This breaks (well, interrupts) boot for me. The S70console script fails now. Analysing the failure, it's failing at:
# Convert the keymap from $LEGACY_CHARSET to UTF-8 [ -z "$LEGACY_CHARSET" ] || dumpkeys -c "$LEGACY_CHARSET" | loadkeys -u >/dev/null 2>&1 || failed=1
With
unknown keysym 'compose' <stdin>:693: syntax error syntax error in map file key bindings not changed Loading <stdin>
I'll report upstream, but for now I suggest we postpone the upgrade.
comment:5 by , 12 years ago
Replying to bdubbs@…:
What are you using for LEGACY_CHARSET?
Here's my /etc/sysconfig/console:
UNICODE="1" KEYMAP="uk" LEGACY_CHARSET="iso-8859-1" FONT="lat1-16"
comment:6 by , 12 years ago
I think I found the error.
sed -i -e "326 s/if/while/" src/loadkeys.analyze.l
This is in a parsing routine that uses a stack and currently does not clear the stack properly at the end of a line when the stack depth is greater than 1.
This was in the diff posted to the kbd mailing list, but only one of the three changes was needed. Using the /etc/sysconfig/console settings above, the boot script works without complaint, but I can't check the keys with a US keyboard (AFAIK).
I'll note that I came up with the fix independently of the kbd mailing list with a few printf and echo statements in src/loadkeys.analyze.c and /etc/init.d/console.
Also, make regenerates loadkeys.analyze.c from the .l file with:
/bin/sh ../config/ylwrap loadkeys.analyze.l lex.yy.c loadkeys.analyze.c -- flex --header-file=/usr/src/kbd/kbd-1.15.5/src/loadkeys.analyze.h
comment:7 by , 12 years ago
Thanks, Bruce. I'm building now with that sed and will upgrade Kbd once I get a clean boot.
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks again, Bruce. The sed works fine here too. Upgraded in r10086.
I'm not sure how to check everything, but these are my observations: