Re: ctrl alt del behaviour

2002-07-06 Thread Andrew



On Fri, 5 Jul 2002, Paulo Roberto wrote:

 The issue about ctrl+alt+del is that I need to change the default
 behaviour that is reboot, to halt the system. The best I could find was
 to change the keymap on key 83 (if I am not mistaking) to 'pdwn' or
 'halt' (it was previously on 'boot').

Take a look at sys/dev/syscons/syscons.c round line 3115.

Andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: ctrl alt del behaviour

2002-07-06 Thread David Malone

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 [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



ctrl alt del behaviour

2002-07-05 Thread Paulo Roberto

Hello,

No flames please, before I am posting this message I did:
-read all kinds of faq and docs on www.freebsd.org
-searched a lot the web
-posted this question to freebsd questions
-searched more and more
-looked up for help in irc #freebsd channels
-searched more
-posted again to freebsd questions
-and searched more.
And if there is a place I can get the answer, the place is here...

The issue about ctrl+alt+del is that I need to change the default
behaviour that is reboot, to halt the system. The best I could find was
to change the keymap on key 83 (if I am not mistaking) to 'pdwn' or
'halt' (it was previously on 'boot').
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?

TIA

Paulo

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message