From owner-freebsd-questions Mon May 28 13:32:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from infobahn.icubed.com (infobahn.icubed.com [208.0.145.2]) by hub.freebsd.org (Postfix) with ESMTP id 6EE6137B422; Mon, 28 May 2001 13:32:35 -0700 (PDT) (envelope-from cwaiken@icubed.com) Received: from bigdaddy.localdomain (du201p123.icubed.com [204.215.201.123]) by infobahn.icubed.com (8.9.3/8.9.3) with ESMTP id QAA27607; Mon, 28 May 2001 16:34:01 -0400 (EDT) Received: from localhost (cwa@localhost) by bigdaddy.localdomain (8.11.1/8.11.1) with ESMTP id f4SKTHR00267; Mon, 28 May 2001 16:29:17 -0400 (EDT) (envelope-from cwaiken@icubed.com) X-Authentication-Warning: bigdaddy.localdomain: cwa owned process doing -bs Date: Mon, 28 May 2001 16:29:16 -0400 (EDT) From: "Christopher W. Aiken" X-X-Sender: To: Greg Lehey Cc: "Christopher W. Aiken" , FreeBSD Questions Subject: Re: Ctrl-Alt-Del once again In-Reply-To: <20010528111406.U29739@wantadilla.lemis.com> Message-ID: <20010528162149.K256-100000@bigdaddy.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 28 May 2001, Greg Lehey wrote: :)On Sunday, 27 May 2001 at 21:30:23 -0400, Christopher W. Aiken wrote: :)> :)> I'd like to setup Ctrl-Alt-Del to do a "halt" instead :)> of re-boot. Searching the archives I found a snipit :)> that indicated that the following command should do it: :)> :) :)Yes. Assuming you're using the standard keyboard map :)(/usr/share/syscons/keymaps/us.iso.kbd), make a copy with an :)appropriate name and change the following line: :) :)Before: :) :) 083 del '.' '.' '.' '.' '.' boot boot N :) :)After: :) :) 083 del '.' '.' '.' '.' '.' halt halt N :) :)This is described in the man page kbdmap(5), which was only written a :)few months ago. :) :)Greg Nope, Doesn't work. I copied us.iso.kbd to us.iso.kbd_cwa. I made the above changes to keycode 083. I then added "keymap=us.iso.kbd_cwa" to my /etc/rc.conf file. Finally I re-booted. When my system came back up I hit Ctrl-Alt-Del expecting a "halt" to be performed. Instead a "reboot" occurred, just as though I had done nothing to the keymap file. Is there a way to determine if us.iso.kbd_cwa is even used? man kbdmap shows nothing, and I could find nothing in dmesg. -- -=[cwa]=- FreeBSD 4.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message