4-Nov-82 10:29:00,1554;000000000000 Date: Thursday, 4 Nov 1982 09:29-PST To: HONEYCUTT at MIT-MC Cc: INFO-CPM at BRL, AMETHYST-USERS at MIT-MC Cc: bridger at RAND-UNIX, Roger L Long Subject: Catching function key sequences From: bridger at RAND-UNIX My bios CONIN has an option to enter a countdown loop when an ESC is received. If the next char is received within that time, it assumes both the escape and the follow-on character were sent by a function key. It then discards the ESC and sets the high bit of the follow-on character to signal the application program. If it timesout without receiving anything, the ESC is presumed to have been typed as the escape key and is returned. You could have your editor patch in its own CONIN to do this while it's running, then restore the bios CONIN on exit from the editor. The timing constant is based on the CPU speed and the baud rate for the terminal channel and presumes that the follow-on character will be sent by the terminal's ROM as soon as the baudrate permits. Let me know if you pursue this. On reading Roger Long's message, I see that this technique may need to be extended another character for the 3-character sequences from the H-19 alternate keypad. A useful feature of this approach is that it allows the editor to distinguish between ESC-char sent as separate keystrokes, and a function key that transmits the same sequence. This permits binding the function keys to anything without conflicting with bindings chosen for the separate keystroke commands. bridger. 27-Nov-82 09:56:00,287;000000000000 Date: 27 November 1982 11:56-EST From: Frank J. Wancho Subject: [JERRYB: forwarded] To: AMETHYST-USERS at MIT-MC Date: 11/27/82 05:25:22 From: JERRYB To: AMETHYST-USERS-REQUEST Does anybody have any code modifying mince to edit lisp code? Thanks Jerry