The macros are defined in plain text and thus in order to accommodate control and cursor keys as well each macro keystroke is defined by a pair of letters using the following scheme. Starting in the first column of a definition must appear the key word or function key identifying the macro. This is followed by the macro body. Function keys may not appear in macro bodies. Keystroke and are encoded as follows with implied sequences in ASCII order.
Ordinary characters prepend with _
Control Keys prepend with ∧ ∧M Return, ∧[ esc
Alt Keys prepend with %
Cursor keys prepend with # #. Del, #0 Ins - #9 PgUp
Ctrl Cursor Keys prepend with # #N Del, #P Ins - #Y PgUp
Alt Cursor Keys prepend with # #n Del, #p Ins - #y PgUp
Function Keys prepend with $ $1 - $<
Shift Function Keys prepend with $ $= - $H