Summary: | vt keymaps with Unicode characters crash X server on start | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Stefan Eßer <se> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||
Status: | Closed DUPLICATE | ||||||
Severity: | Affects Many People | CC: | arved, dumbbell, emaste, thierry | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191459 | ||||||
Attachments: |
|
Description
Stefan Eßer
2014-08-31 06:53:15 UTC
Created attachment 146584 [details]
Work around X11 server crash with vt and Unicode characters >= 0x100
The attached patch works around the problem by returning 0 instead of an out-of-range value for Unicode code points >= 0x100. It is meant to be put into the files sub-directory of the x11-drivers/xf86-input-keyboard port.
This is not a fix, but allows to use the X server at least with the keys defined in ISO Latin-1 ...
See also PR ports/191459 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191459 over to maintainer Just an observation with the patched port (patch attached to this PR applied): It seems that I can enter all characters, including e.g. the Euro sign (U+20AC), as verified in a terminal window and with xev. Without the patch, the X server does not start at all (if a keymap with characters >= 0x100 is loaded). With the patch, the X server starts and I do not see what's missing ;-) Since 10.1 will have vt enabled by default and I plan to MFC a version of rc.d/syscons, that selects a vt keymap matching a syscons keymap specified in rc.conf, this may hurt people that upgrade an existing system to 10.1. They'll have a working keyboard (with localized keymap) on the console, but cannot any longer start the X server. Therefore, I'd want to argue for adding this work-around to the xorg-input-keyboard port, until a better solution is available. A modified patch was committed in r367714 in the ports tree; see 191459. Thank you! *** This bug has been marked as a duplicate of bug 191459 *** |