home *** CD-ROM | disk | FTP | other *** search
- >>>file/ibm_pc_b 176 ibmbin-request@crdgw1.crd.ge.com(2119)23Aug90 01:54
- TITLE: v07i220: numon, control numlock for a command (part 01/01)
-
- +Message-ID : <1592@sixhub.UUCP>
- +From : ibmbin-request@crdgw1.crd.ge.com
- +Organization :
-
- Checksum: 932781456 (Verify with "brik -cv")
- Posting-number: Volume 07, Issue 220
- Submitted-by: news@lance.hss.bu.oz.au
- Archive-name: numon/part01
-
- numlock control utility.
-
- Submitter says:
-
- I just realised there may be a lot of frustrated people out there who
- could benefit by these simple utilities. Apologies if similar have been
- submitted previously.
-
- [ these are welcome, people will select what fits their needs -wed ]
-
- Description:
- NUMOFF clears the numlock function on ATs and compatibles (probably works
- on PS/2 beasties as well) for people who find it annoying.
- NUMOFF turns it back on again.
-
- What happens:
- These are utilities which set the keyboard status flags
- at location absolute location 0x417 so that numlock will be turned off
- or on. This is reproducible by ANDing that location with 0xDF to
- disable or ORing with 0x20 to turn on. This should work with any AT
- compatible machine and probably PS/2s as well.
-
- Usage:
- Place numoff in your autoexec.bat Use them wherever appropriate in
- batch files.
-
- Bugs:
- It's too simple to do anything wrong. At worst nothing should happen.
-
- Disclaimer:
- No responsibilty for any damage sustained from concentrating and inhaling
- these substances.
-
- Licence:
- Do what you like but please don't modify them.
-
- Miles Gillham
-