Mail Archives: djgpp/1993/04/15/11:25:30
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
- Raw text -