Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 10:15:12 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/syscons syscons.c
Message-ID:  <19991216101511.J48955@freebie.lemis.com>
In-Reply-To: <199912140134.KAA20171@zodiac.mech.utsunomiya-u.ac.jp>
References:  <199912100431.UAA03034@freefall.freebsd.org> <19991211122217.A355@mojave.sitaranetworks.com> <199912140134.KAA20171@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 14 December 1999 at 10:34:48 +0900, Kazutaka YOKOTA wrote:
>
>>>   To use the panic key, add a keyword 'panic' to a key in your
>>>   keymap file.  The following example assigns the panic function
>>>   to SysReq (Alt-PrintScreen) key (keycode 84).
>>>
>>>     083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
>>>     084   panic  nop    nop    nop    panic  nop    nop    nop     O
>>
>> Doesn't this panic without the Alt key as well?
>
> On 101/102/104, and other extended, keyboards, the SysReq scan code is
> produced by the keyboard, only when the PrintScreen key is pressed with
> one of Alt keys.  Therefore, we don't get the SysReq scan code without
> Alt state being set on these keyboards.

Ah.

> In contrast, there is a sole SysReq key on old AT 84 keyboards.  We
> get the SysReq scan code by simply pressing this key.  With the above
> keymap entry, SysReq alone, or Alt+SysReq will panic the system.
>
> Well, maybe we should modify the entry as follows so that we get panic
> for Alt+SysReq on all keyboard models.
>
> 084   nop     nop    nop    nop    panic  nop    nop    nop     O

Yes, I think this is a better way, especially considering the results
of pressing the key :-)

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991216101511.J48955>