[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-hurd-Bugs][302425] xkb console driver has syntax error on keycodes/xfree86



debian-hurd-Bugs item #302425 was changed at 29/12/2017 18:07 by Samuel Thibault
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411594&aid=302425&group_id=30628

>Status: Closed
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: xkb console driver has syntax error on keycodes/xfree86 
Category: None
Group: None
Resolution: None


Initial Comment:
package: console-driver-xkb 0.008-6 

The xkb console driver fails to parse keycodes/xfree86 (which it reads by default).  The offending lines are 335 and 336.

alias <VOL-> = <I0E>;
alias <VOL+> = <I0F>;

This is because of the + and - characters inside the keycode.

Marco says that the regular expression needs to be changed to include those characters.

The original regex looks like:

  KEYCODE         "<"[A-Z][A-Z0-9]*">"

This can be changed to something like:

  KEYCODE         "<"[A-Z][-+A-Z0-9]*">"

Can someone provide an experimental console-driver-xkb package, so I can test it?

Thanks,

bing

----------------------------------------------------------------------

Comment By: Samuel Thibault (sthibault)
Date: 29/12/2017 18:07

Message:
This got fixed upstream

----------------------------------------------------------------------

Comment By: Thomas Schwinge (tschwinge-guest)
Date: 28/10/2006 18:25

Message:
Applying such a change and rebuilding the package and
starting the console again yields the next follow-up problem:

#v+
types/level5:17: syntax error
[...]
#v-

Line seventeen of `/usr/share/X11/xkb/types/level5' looks
like this: ``map[LevelFive] = Level5;''.

It seems that this `LevelFive' is not supported with the
current code.


----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411594&aid=302425&group_id=30628


Reply to: