Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 exptools 1/6/84; site ihuxw.UUCP Path: utzoo!linus!security!genrad!grkermit!masscomp!clyde!floyd!harpo!ihnp4!ihuxw!bamford From: bamford@ihuxw.UUCP Newsgroups: net.micro.pc Subject: When is a program loaded? Message-ID: <673@ihuxw.UUCP> Date: Tue, 17-Jan-84 18:27:26 EST Article-I.D.: ihuxw.673 Posted: Tue Jan 17 18:27:26 1984 Date-Received: Wed, 18-Jan-84 07:42:00 EST Organization: AT&T Bell Labs, Naperville, IL Lines: 24 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