Method for Preventing Keystroke Buffer Overflow When Using Remap Key
Original Publication Date: 1987-Mar-01
Included in the Prior Art Database: 2005-Feb-01
When using a global key definition utility, it is possible to define a single keystroke as a string of 72 characters. If the user is inputting keystrokes at a rapid rate and this includes a remapped key, then it is possible to overflow the keystroke buffer. This results in as many as 72 characters being discarded and 72 beeps. A method is described for discarding a remapped keystroke if the string that replaces it would overflow the buffer. A single beep tells the operator that the keystroke was discarded. In accordance with the new method, a function is defined so that the keystroke handler can determine if the utility is active in the computer memory. When it is active, the keystroke handler uses a new function interface to find out if a keystroke is being remapped to a string greater than one.