Terminal Guide

Alt + Key Sends Character with High Bit Set

?1034
xterm
konsole

Use high bit to signal keypresses with alt modifier held.

When reporting key presses use the high (eighth) bit to indicate alt modifier. (This will collide with non ASCII characters)