Date: Thu, 15 Apr 93 10:50:10 -0400 From: davis AT amy DOT tch DOT harvard DOT edu ("John E. Davis") To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: interrupt 9 Reply-To: davis AT amy DOT tch DOT harvard DOT edu (John E. Davis) Hi, I plan to install GJGPP on my 386 but before I do, I have a few questions. I wrote an emacs-like editor that traps the keyboard interrupt 0x9. Specifically, I look for ^G keypresses as well as a Numlock keypress which I map to ^[OP (I emulate the VMS EDT editor as well). If a ^G is pressed, a flag is set. The editor includes an interpreter which check this flag and if set, returns to top level. I cannot afford to constantly call a boolean keypressed routine which would also have buffer the key. Is there anyway in DJGPP to achieve these to goals: 1. Set flag when ^G is pressed. 2. Catch numlock keypresses? I do not have to grab int 9 on 386, I could use int 16(?) instead. Without this basic functionality, I will be forced to continue using Borland's compiler. Thanks, John E. Davis