Re: keyboard raw mode?

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Tue, 23 Jun 1998 14:30:34 +0200


Hi!

> When any of this software dies, it leaves the console a mess.
> The shell is unable to understand keystrokes. Not even console
> switching works.

There are more problems with raw mode and tty switching: Hold down
alt, press F9 (to get into X). Now press something. Hey, X forgot that
alt is down!

Doing raw mode right is pretty hard to do with tty switching in
progress.

My solution would be:

Allow console switching (done by kernel) in raw mode.

Make everyone use medium-raw mode.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When switching to console in medium-raw mode send list of all keys
pressed to that program. (Prefixed with 'autosend' and postfixed with
'/autosend' code.)

Pavel

This still does not solve xyz app crashing, but at least you can
switch consoles after that. It also makes shifts work accross vt
switches.

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu