From owner-freebsd-hackers Sat Jul 6 4:52:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 492B037B400 for ; Sat, 6 Jul 2002 04:52:24 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id CF5C843E3B for ; Sat, 6 Jul 2002 04:52:22 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 6 Jul 2002 12:52:07 +0100 (BST) Date: Sat, 6 Jul 2002 12:52:06 +0100 From: David Malone To: Paulo Roberto Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ctrl alt del behaviour Message-ID: <20020706115206.GA23936@walton.maths.tcd.ie> References: <20020706022816.46575.qmail@web14904.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020706022816.46575.qmail@web14904.mail.yahoo.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jul 05, 2002 at 07:28:16PM -0700, Paulo Roberto wrote: > After rebooting to the changes take effect (I do not know if there is a > way to reload the keymap withou restarting the system), I try > ctrl+alt+del and then it runs the proper halt/shutdown script, but when > it was supposed to stop (halt) for the user press the power button, it > does automaticaly reboot. > Is there a way to just halt (and stay halted) using ctrl+alt+del? What you have described should have worked, so I'm guessing that there is some problem with how you are setting the keymap. I'd suggest that you try the following: kbdcontrol -d > keymap.orig cp keymap.orig keymap.my Now edit keymap.my and make any changes. (I actually map ctrl-alt-end to halt, so I have a choice or rebooting or halting.) Now load the keymap and check the change way OK: kbdcontrol -l keymap.my kbdcontrol -d > keymap.new diff keymap.my keymap.new Now try pressing ctl-alt-end, or whatever combination you choose. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message