From: Pavel Machek <pavel@ucw.cz>
To: Arthur Taylor <art@ified.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] New console keyboard mode OFF
Date: Tue, 11 Jan 2011 15:34:17 +0100 [thread overview]
Message-ID: <20110111143417.GD22390@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <AANLkTimqzWuGUvMo+8znuVbYocsnsJe7Heo+xY5jRrXv@mail.gmail.com>
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
next prev parent reply other threads:[~2011-01-11 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-09 9:00 Arthur Taylor
2011-01-11 14:34 ` Pavel Machek [this message]
2011-01-13 11:01 ` Arthur Taylor
2011-01-23 13:00 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110111143417.GD22390@atrey.karlin.mff.cuni.cz \
--to=pavel@ucw.cz \
--cc=art@ified.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®