Re: Disable ScrollLock key

2006-10-23 Thread Olivier Nicole
Thanks,

  How to disable the ScrollLock key on a FreeBSD 4.11 console?
 
  I mean disable it for good, 100%, dead, like it was simply physacally
  not there.
 
 I'm wondering why you would want to do this.

Because the machine is used for access control (opening a door) and
Friday, just when I was supposed to leave for the week-end, I had a
problem and lost time figuring out that if the system was not
responding to the enter key anymore, it was because it was scroll
locked.

From the answer you gave me, I found that good page:

 http://www.freebsddiary.org/kbdcontrol.php

Thanks,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable ScrollLock key

2006-10-21 Thread Atom Powers

On 10/20/06, Olivier Nicole [EMAIL PROTECTED] wrote:

How to disable the ScrollLock key on a FreeBSD 4.11 console?

I mean disable it for good, 100%, dead, like it was simply physacally
not there.


I'm wondering why you would want to do this.

But here's how you may be able to:

1. Find the scan code for the ScrollLock key, I don't know what it is
off the top of my head, but it shouldn't be too hard to find.
2. Go into /usr/share/syscons/keymaps/ and nop every action for that
scan code in every file.

It is smarter to just nop it for the keymap you plan on using, or
better still to create a new keymap with the scroll-lock key disabled
and set that as your default.

Your key will still be there, and it will still send it's scan code to
the system, but the system won't do anything with it. But other
devices, like KVM switches, will still process the key press.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]