lkml.org 
[lkml]   [2011]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] New console keyboard mode OFF
Hi!

> The current console keyboard situation can be improved by introducing
> an "OFF" mode. All available modes for the console keyboard (RAW,
> MEDIUMRAW, XLATE, and UNICODE) buffer key events in the current vt's
> tty input. As recent Xorg releases no longer read input from the vt
> there are two problems:
>
> 1) The tty input buffer eventually overflows because nothing is
> reading it, triggering an infinite flush_to_ldisc() kworker loop.
> 2) If the vt's mode isn't changed to RAW or MEDIUMRAW, key events
> remain translated by the kernel, causing shenanigans like pressing
> Ctrl+C in Xterm would send SIGTERM to the X server.

Seems very sane. Of course it all depends what a patch looks like...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2011-01-11 15:37    [W:0.045 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site