[comp.lang.pascal] redefining keys

nl0r+@andrew.cmu.edu (Nicolas Paul Louit) (12/02/89)

I am trying to write a routine that will trap a certain key sequence (as
in CTRL-A, or ALT-F, not several keys in a row) and act on it.  Anyhow,
I have a piece of code which saves interrupt 9, then redefines to call a
given procedure, then resets it back.  However, I'm not sure what to
write in that interrupt procedure (that is what it's supposed to be,
right ?), and was hoping someone had written similar routines, and could
help me out.

Also, I would like, if possible to make this stay in memory for a while.
 I am not sure if I need to KEEP it, or just redefine int 9 for as long
as I need it.

Any help on this would be greatly appreciated.  Please CC: any info to
nl0r@andrew.cmu.edu

Nick