/* sample code to do some key remapping with ANSI sequences */ /* see also ANSI ESC Sequences , */ /* Key codes for key redefinitions and */ /* Using function keys */ /* */ /* Note: Turning extended keys off is NOT necessary for key v1.60 */ /* remapping. This information in RXT&T v1.50 was wrong. v1.60 */ /* set F1 key to HELP<RETURN> */ call CharOut , '1B'x || '[0;59;"HELP";13p' /* set ALT-F10 to EXIT (without RETURN) */ call CharOut , '1B'x || '[0;113;"EXIT";p' /* set "A" to ABER (without RETURN) */ /* corrected in RXT&T v1.60 */ call CharOut , '1B'x || '[65;"ABER";p' /* reset F1 key to F1 */ call CharOut , '1B'x || '[0;59;0;59;p'