From owner-cvs-all Wed Dec 15 15:45:33 1999 Delivered-To: cvs-all@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 28A4E155F8 for ; Wed, 15 Dec 1999 15:45:24 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA59856; Thu, 16 Dec 1999 10:15:12 +1030 (CST) Date: Thu, 16 Dec 1999 10:15:12 +1030 From: Greg Lehey To: Kazutaka YOKOTA Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/syscons syscons.c Message-ID: <19991216101511.J48955@freebie.lemis.com> References: <199912100431.UAA03034@freefall.freebsd.org> <19991211122217.A355@mojave.sitaranetworks.com> <199912140134.KAA20171@zodiac.mech.utsunomiya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199912140134.KAA20171@zodiac.mech.utsunomiya-u.ac.jp> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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