Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 10:34:48 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Greg Lehey <grog@lemis.com>
Cc:        cvs-all@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: cvs commit: src/sys/dev/syscons syscons.c 
Message-ID:  <199912140134.KAA20171@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Sat, 11 Dec 1999 12:22:17 EST." <19991211122217.A355@mojave.sitaranetworks.com> 
References:  <199912100431.UAA03034@freefall.freebsd.org>  <19991211122217.A355@mojave.sitaranetworks.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>>   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.

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

Kazu


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?199912140134.KAA20171>