Use 'EL'
to start loading the keyboard Edit keys. This feature is
included for compatibility with other languages. This
mnemonic will allow you to change the characters that
will be returned to the application when any of the
following edit keys are pressed:
| Hex keycode |
Edit key |
| $00$ |
Left arrow |
| $01$ |
Right arrow |
| $02$ |
Up arrow |
| $03$ |
Down arrow |
| $04$ |
HOME key |
| $05$ |
END key |
| $06$ |
Page Up key |
| $07$ |
Page Down key |
| $08$ |
Insert key |
| $09$ |
Delete key |
The 'EL'
mnemonic is generally followed by a single character code
indicating the type of function to be performed followed
by the one or more parameters encoded in the print
sequence.
| 'EL' sequence |
Description |
| "0"
<keycode> |
Drops
the definition for the specified key |
| "1"
|
Drops
all key definitions |
| "2"
<keycode><len><data...> |
Sets
the value returned for the specific key code to
the string defined in <data...> whose
length is in the byte <len> |
"3"
<cnt>
<keycode><len><data..>
<keycode><len><data..>.. |
Sets
the value of multiple keys in a single load |
| "4"
<keycode> |
Places
the length byte and data associated with the
keycode into the input buffer |
| "5"
|
Places
all defined key code values in the input buffer
in the same format as used on "3"
above. |
| "8"
<keycode> |
Places
just the data portion of the specified key into
the input buffer. |
A typical
command to change the function key would be:
PRINT 'EL',
"2", $06$, $01$, $88$,
This would cause the PGUP
key to place $88$ into the input buffer.
For more information on
conversion and compatibility modes, see the
Installation Guide. Also, refer to the DEFCTL
Directive.
|