[comp.sys.mac] MacTerminal patch for new keyboard

weber@brand.UUCP (Allan G. Weber) (04/29/87)

From a friend with a Mac SE, here is a patch for Macterminal to handle
the new keyboard.

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Here is a fix for MacTerminal 2.0 to run with the new Apple Keyboard.
The control key down is bit 12 in the event record modifier.

With the patch installed,
the ESC key will sent 'ESC' (0x1b), and
the `~ key will send `~ (0x60 and 0x7e).

Both the control key and the command key will modify the
character codes to send control codes.

Make a back up of MacTerminal just in case, and then
use Fedit to patch the MacTerminal file as follows:

1. Find          0c47 0033 57c0 6628 ...
   Change to     082e 0004 fffe 6706 08ee 0000 fffe 6020

2. Find          1b60 1b7e 1b60 1b7e 1b60 1b7e 1b60 1b7e 
   Change to     6000 7e1e 6000 7e1e 6000 7e1e 6000 7e1e

3. Find          30 31 32 33 34 35 00
   Change to     30 31 32 33 34 35 36

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

				Allan Weber
				weber%brand@usc-oberon.usc.edu