Path: utzoo!censor!geac!maccs!cs4g6ag From: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Newsgroups: comp.sys.ibm.pc Subject: Re: Turning off NumLock through software Keywords: NumLock Message-ID: <255AF5E9.24227@maccs.dcss.mcmaster.ca> Date: 10 Nov 89 16:23:05 GMT References: <3932@ur-cc.UUCP> Reply-To: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Distribution: usa Organization: McMaster University, Hamilton, Ontario Lines: 27 In article <3932@ur-cc.UUCP> bwbe_c50@uhura.cc.rochester.edu (Brent W. Benson) writes: $A friend of mine has a Clone IBM compatible. It is a 12mhz 80286. $When it is turned on, during the initialization process (i.e. memory $check, etc.) the NumLock light goes on. $While this is not the end of the world, is there some way to turn $it back off in the autoexec.bat file. Or better yet, is there some $way to prevent it happening in the first place. If you have the 101-key (enhanced) keyboard, your num lock light will go on when you boot. Period. What you can do is put a short program into your autoexec.bat which turns it off again (or you can take the low-tech solution - press the num lock key). There is a program called Numoff that turns num lock off. I don't have a copy, but I can tell you how it works. There is a word somewhere in low memory that says which of the lock keys are on, and which of the shift keys are depressed. You just set or reset the appropriate bit in this word to turn the various locks on or off. Peter Norton's _Programmer's Guide to the IBM PC_ has information on this word of memory. -- Stephen M. Dunn cs4g6ag@maccs.dcss.mcmaster.ca = "\nI'm only an undergraduate!!!\n"; **************************************************************************** They say the best in life is free // but if you don't pay then you don't eat