public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Stateful Magic Sysrq Key
@ 2001-10-02  8:48 willy tarreau
  2001-10-02 14:18 ` Crutcher Dunnavant
  0 siblings, 1 reply; 3+ messages in thread
From: willy tarreau @ 2001-10-02  8:48 UTC (permalink / raw)
  To: Ian Stirling, linux-kernel

> I'd suggest either making this behaviour optional,
or making it
> so that hitting alt-sysrq twice, without any other
keys being
> pressed makes the next key stick.

I agree with you that there's a risk. Mike Harris had
written a
patch for 2.2 which did something similar, but
slightly better 
IMO since it avoids risks of mis-press, handles
correctly
broken keyboards and keeps compatible with the
existing 
method. Basically, it allows the user to press Alt,
then SysRQ,
release SysRQ then press the desired key, and later
release
Alt. In fact, it only resets the "magic-key-mode" flag
after Alt
has been released, and doesn't bother when SysRq is
released.

I don't remember where it was available, but if
someone needs
it, I still have it here for 2.2.

Willy


___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-03 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-02  8:48 [PATCH] Stateful Magic Sysrq Key willy tarreau
2001-10-02 14:18 ` Crutcher Dunnavant
2001-10-03 14:05   ` [PATCH] Stateful Magic Sysrq Key + Sticky Tag Crutcher Dunnavant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox