mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "willy tarreau" <wtarreau@yahoo.fr>
To: Ian Stirling <root@mauve.demon.co.uk>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Stateful Magic Sysrq Key
Date: Tue, 2 Oct 2001 10:48:06 +0200 (CEST)	[thread overview]
Message-ID: <20011002084807.3579.qmail@web20505.mail.yahoo.com> (raw)

> 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

             reply	other threads:[~2001-10-02  8:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02  8:48 willy tarreau [this message]
2001-10-02 14:18 ` Crutcher Dunnavant
2001-10-03 14:05   ` [PATCH] Stateful Magic Sysrq Key + Sticky Tag Crutcher Dunnavant
     [not found] <20011002185016.90E271F9BA@zion.rivenstone.net>
2001-10-03  4:23 ` [PATCH] Stateful Magic Sysrq Key Ian Stirling
  -- strict thread matches above, loose matches on Subject: below --
2001-10-02  3:44 Crutcher Dunnavant
2001-10-02  4:14 ` Simon Kirby
2001-10-02  7:02 ` Ian Stirling

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=20011002084807.3579.qmail@web20505.mail.yahoo.com \
    --to=wtarreau@yahoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@mauve.demon.co.uk \
    /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®