Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Caps/Num/Scroll lock tweaker wanted

2 views
Skip to first unread message

Michael P. Kirby I

unread,
Feb 12, 1988, 2:56:14 PM2/12/88
to
Hi folks. Quick question: Can someone post the procedure necessary to
turn on/off the caps lock, num lock, and scroll lock? I'm sorry if it
is an easy answer -- I'm a novice.

THANKS!

MIKEy

Jon Meinecke

unread,
Feb 24, 1988, 10:44:31 AM2/24/88
to
In article <4...@gvgspd.UUCP>, m...@gvgspd.UUCP (Michael R. Kesti) writes:
> This does the trick, but does not change the state of the lamps in the
> keyboard (at least not on my 6300). [...]

Some so-called 101-key "enhanced" keyboards use the state of the num lock
indicator light to determine the scan code which are sent to the system
for the arrow keys or editing keys (insert, delete, home, etc...)
which are separate from the numeric keypad. These keyboards send the
appropriate scan codes to alter the "shift" state. For example,
The Compaq 286 Tech Ref Manual indicates that for the "INS" key
the follow scan code sequence is issued (make/break):

Shift active with NUM LOCK off:
E0 F0 12 E0 70/E0 F0 70 E0 12
Shift inactive with NUM LOCK on:
E0 12 E0 70/E0 F0 70 E0 F0 12

An utility which only sets the BIOS data area shift state variables
and does not inform these enhanced keyboards will cause the BIOS and
the keyboard to be "out of sync" until the user presses a scroll,
num, or caps lock key. The BIOS will then send the keyboard command
to set the indicator LEDs to what the BIOS believes is the shift state.
It should fairly easy to write a utility which both sets the ROM data
shift state variables and issues the keyboard command to set the LEDs.

This applies only to keyboards which support the "set indicator"
command. Some earlier keyboards (which had indicator LEDs) did
not support commands from the system to the keyboard...

JonM

Cha...@cup.portal.com

unread,
Feb 29, 1988, 11:39:30 PM2/29/88
to

This teeny-tiny file is an arced uuencoded combination of two files:
REVCAPS.COM and REVKEY.COM. They will reverse your capslock and numlock
keys when they get "out of sync" with the lights. (only 11 bytes each)
section 1 of uuencode 2.3 of file revkey.arc by R.E.M.

begin 644 revkey.arc
M&@)2159#05!3+D-/30`E"P```"8">:H,=@L```"X0`".V(`V%P!`PQH"4D56D
E3E5-+D-/30`E)0L````F`LFJ)'8+````N$``CMB`-A<`(,,:`,,:A
``
end
size 82


cha...@cup.portal.com

0 new messages