bamford@ihuxw.UUCP (01/18/84)
All right, PC wizards! Here's a problem for you... I have a program that will intercept keyboard interrupts and perform special processing on certain characters (I want to have inline editing on the DOS 2.0 command line). Obviously, I don't want special processing done if I am running, say, an editor. The problem then, is to tell when another program is being run, and if so, pass all characters on unchanged. I have considered looking at the amount of free memory left (if there is another program loaded, the amount of free memory will be less than when my keyboard driver was loaded), but using a DOS INT command before processing each character seems like an awful lot of processing. Any ideas? Thanks -- Harold Bamford AT&T Bell Labs @ Naperville, Illinois (312) 979-0837 ihuxw!bamford