Method to Permit Application Selection of Keystroke Input Format
Original Publication Date: 1986-Nov-01
Included in the Prior Art Database: 2005-Mar-09
When a key is pressed on a computer keyboard, most terminal sub-systems return scan codes to the host operating system or the application. Other operating systems translate the keystroke information into character codes before passing it on to other modules. The new method allows both at the sub-system level. The Terminal Mode Processor (TMP) has two translation modes. Non-translated mode, referred to as 'raw' mode, means that the TMP should not translate keystroke information. Instead, the TMP returns in an interrupt to the host, the scan codes and key positions for each keystroke. Translated mode, referred to as 'cooked' mode, means the TMP returns a translation of key position into ASCII character codes. This means that an application can be written to use either, or even both, types of input.