[comp.sys.ibm.pc.misc] Num Lock .com utility wanted

huff@kuhub.cc.ukans.edu (09/08/90)

Although a trivial request, I would like to find a .com that will
turn my num lock off when I boot up.  Can somebody point me in
the right direction?

Thanks.

Steve
--------------------------------------------------------------------------------
Steve Huff, MBA student, University of Kansas
(currently interning at Hill's Pet Products, Topeka, KS) WorkNet: 913 231 5760
My electronic dicta may or may not represent views of either organization.
Internet:  HUFF@kuhub.cc.ukans.edu      Bitnet:	HUFF@Ukanvax.Bitnet
Snail:     P.O. Box 1225, Lawrence, KS  66044-8225	HomeNet: 913 749 4720
--------------------------------------------------------------------------------

kdq@demott.COM (Kevin D. Quitt) (09/09/90)

In article <25475.26e8c676@kuhub.cc.ukans.edu> huff@kuhub.cc.ukans.edu writes:
>Although a trivial request, I would like to find a .com that will
>turn my num lock off when I boot up.  Can somebody point me in
>the right direction?
>
begin 666 numblock.com
C*\".V*`7!"3?HA<$L032Z"0'BMBP[>9@N0`@XOZ*P^9@S2`F
`
end
-- 
 _
Kevin D. Quitt         demott!kdq   kdq@demott.com
DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
VOICE (818) 988-4975   FAX (818) 997-1190  MODEM (818) 997-4496 PEP last

                96.37% of all statistics are made up.

frisk@rhi.hi.is (Fridrik Skulason) (09/09/90)

In article <25475.26e8c676@kuhub.cc.ukans.edu> huff@kuhub.cc.ukans.edu writes:
>Although a trivial request, I would like to find a .com that will
>turn my num lock off when I boot up.  Can somebody point me in
>the right direction?

Try this...

begin 755 nonuml.com
),<".V*(7!,T@!
``
end
size 9

kdq@demott.COM (Kevin D. Quitt) (09/11/90)

In article <2148@krafla.rhi.hi.is> frisk@rhi.hi.is (Fridrik Skulason) writes:
>In article <25475.26e8c676@kuhub.cc.ukans.edu> huff@kuhub.cc.ukans.edu writes:
>>Although a trivial request, I would like to find a .com that will
>>turn my num lock off when I boot up.  Can somebody point me in
>>the right direction?
>
>Try this...
>
>begin 755 nonuml.com
>),<".V*(7!,T@!
>``
>end
>size 9


    Very rude program - it leaves the numlock light and status bit out of
sync on most systems.
-- 
 _
Kevin D. Quitt         demott!kdq   kdq@demott.com
DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
VOICE (818) 988-4975   FAX (818) 997-1190  MODEM (818) 997-4496 PEP last

                96.37% of all statistics are made up.

ts@uwasa.fi (Timo Salmi LASK) (09/11/90)

>In article <25475.26e8c676@kuhub.cc.ukans.edu> huff@kuhub.cc.ukans.edu writes:
>>Although a trivial request, I would like to find a .com that will
>>turn my num lock off when I boot up.  Can somebody point me in
>>the right direction?

Available at chyde.uwasa.fi by anoynymous ftp, directory /pc/ts.

TSUTLD18.ARC    Fourth set of Utilities, T.Salmi
Filename        Comment                             Date      Time    CRC
--------        --------------------------------    ----      ----    ---
ADJCURS.BAT     Batch shell for adjusting cursor  09-07-90  10:20:22  777B
BIGCURS.EXE     Make the cursor better visible    12-05-89  14:45:36  48D3
BIGNCURS.EXE    NonResident temporary big cursor  11-29-89  16:17:26  E7CA
--> CAPS.EXE    Get/set keyboard toggles          07-19-90  14:22:44  BD6B
FILES.EXE       Summary of your different files   09-08-90  13:07:08  2660
KEYRATE.EXE     Set keyboard repeat rate & delay  07-21-90  21:59:44  6DFD
POPSCR.EXE      Pop screen from image file        09-09-90  11:44:56  BF17
PSK.EXE         Dis/enable the PrintScreen key    06-16-90  08:47:50  B029
PUSHSCR.EXE     Push screen to image file         09-09-90  11:44:52  04B8
SETPRT.EXE      Set PrintScreen retry times       07-10-90  12:07:20  4740
SWITCHAR.EXE    Makes Unix freaks feel at home    11-26-89  21:25:32  DB26
TODAY.EXE       Scan disk for files made today    07-19-90  15:07:40  B345
TSPROG.INF      List of PD programs from T.Salmi  04-03-90  17:37:40  38AB
TSUTLD.INF      Document                          09-09-90  11:46:34  5A32
TSUTLD.NWS      News announcements about tsutld   09-09-90  11:10:48  1A05
VAASA.INF       Info: Finland, Vaasa, U of Vaasa  02-02-90  11:52:54  F6C0
WARMBOOT.EXE    Reboot without memory tests       09-08-90  15:28:40  ECDD
----            ------             ------  -----
0017            136268             100933   26%

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun

HDK@psuvm.psu.edu (H. D. Knoble) (09/11/90)

Publications of NUMLKOFF codes that use special characters are bound to
fail because of they don't display consistently across systems. Such
a .COM file was published in PC Magazine. It follows here:

                                  NUMLKOFF.COM

From PC Tutor, PC Magazine, June 14, 1988, pp378-379, Vol 7, No. 11, by
H. M. Weingartner. The 8 byte program, which deactivates the NumLock function,
was created by entering the following commands to DEBUG:

N NUMLKOFF.COM
A 100
POP DS
AND BY [417],DF          <--417 enclosed in square brackets, ASCII 91 & 93.
INT 20
            <--Make sure you enter this blank line.
RCX
8
W
Q

METHOD AND DISCUSSION (PC Magazine, 8(1):373, January 17, 1989)

Very basically speaking, the BIOS uses 3 bits of a byte located at 0:417h to
keep track of the status of the NumLock, CapsLock, and ScrollLock functions.
The mapping of this byte follows:

 0040:0017h

  7   6   5   4   3   2   1   0    <---Bit positions
      I   I   I
      I   I   +---->  1=ScrollLock active
      I   +-------->  1=NumLock active
      +------------>  1=CapsLock active

If the bit is 1, then the corresponding function is on. NUMLKOFF simply sets bit
five to zero. {If the AND above used constant BF instead of DF, (and appropriate
name changed) then the CapsLock function would be turned off. Similarly, if the
DEBUG instruction AND BY were changed to OR BY and the mask(s) complemented,
then the function(s) would be (NUMLK)ON instead of OFF.}

As a note in passing, the function TOGGLE.COM, published in the May 31, 1988
Utilities column of PC Magazine, allows all three functions to be controlled
more generally.