[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110111143417.GD22390@atrey.karlin.mff.cuni.cz>
Date: Tue, 11 Jan 2011 15:34:17 +0100
From: Pavel Machek <pavel@....cz>
To: Arthur Taylor <art@...ed.ca>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists