> Not really, if X does a hardware cli() and then never recovers from
> it,
AFAIK (briefly looked at 3.1.2 sources), X does never cli() on linux.
> there is nothing the kernel can do about lost keypresses or anything
> else.
Lost keypressess are definitely linux's design problem: As long as
X handle switch-out requests itself, it is going to be there.
Keys you press after Ctrl-Alt-F1 and before X realizes it needs
console switch are lost by design. I'm currently solving it by making
Alt-FX work even in raw mode (then race goes away.)
Q: Is making second set of keys (Ctrl-Alt-F1..F12) marked as 'console
switch even in raw mode' acceptable?
Also, until X use medium raw mode & kernel is modified, shift state
will be lost accross console switches. I'm thinking of forcing X into
medium raw, but it is hard...
Q: Do you think we can force X not to use full raw mode?
Pavel
-- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu