Fri, 20 Mar 2009

Numnuts

Back in the Good Old Days™ of MS-DOS and XT's, I worked for a newspaper as a developer. This paper had installed on all their machines the new style keyboards, with real cursor movement keys in between the QWERTY portion and the numeric keypad. Being a Real Developer, I understood this innovation to be nothing but near sacrilege, and set my machine to boot with num lock off, so I could continue to use the real cursor movement keys, which of course were on the numeric keypad doubling as numbers.

My boss had the annoying habit of borrowing my terminal when I was fetching coffee and a smoke or eating lunch, and he would inevitably turn num lock on and fail to turn it off when he left. This annoyed me greatly, so I wrote a tiny little program and inserted it into my config.sys file: I called it numnuts.sys ( < 100 bytes IIRC).

Numnuts simply monitored the state of the num lock key and would turn it off if it was ever turned on. This led to much consternation on the part of my betters, and also to much less "borrowing" of my terminal, as it was obviously broken.

So, of course, I modified the code slightly to take a command line parameter specifying the number of seconds it would allow num lock to stay on, and installed it surreptitiously on my bosses machine.

I let him go through four keyboards and a motherboard before I uninstalled the daemon and returned his sanity ...

/Technology | 0 writebacks | permanent link


comment...

 
Notes: If you put a <mailto:> link in the URL field your address will not be mangled: this could be a bad idea as your email address could be easily harvested by bots designed for SPAM. The comments field should now format correctly for line feeds and carriage returns: when you hit the 'Enter' or 'Return' keys in your comment it should break to a new line. The text should wrap cleanly. Please let me know if it doesn't. No HTML tags will pass through - entering links seems to be the main cause of comment SPAM. Also, please be sure that Javascript is enabled in your browser before attempting to post a writeback. Sorry for any inconvenience, but this really helps cut down on the amount of comment SPAM I have to deal with.
 
 Name:
 URL:(optional)
 Title: (optional)
 Comments:  
Save my Name and URL/Email for next time