DECRQKD—Request Key Definition
DECRQKD allows you to inquire about the terminal's definition of:
- A function key or a function key combined with a single modifier key.
- An alphanumeric key combined with all of its available modifier keys.
The terminal reports the function key definition with DECRPFK, and the alphanumeric key definition with DECRPAK.
Format
| CSI 9/11 |
Ps1 3/n |
; 3/11 |
Ps2 3/n |
, 2/12 |
w 7/7 |
Parameters
Ps1
indicates is the target key's station number. When inquiring for an alphanumeric
key definition, Ps2 is ignored by the terminal. DECRPAK always reports
a hexadecimal string in which each hexadecimal code represents a value
transmitted by pressing a combination of the target key and a modifier key. The
whole sequence is ignored if you enter an invalid key/modifier. See DECRPAK.
Ps2
When inquiring for a function key definition, Ps2 represents:
| Ps2 | Description |
|---|---|
| 0, 1 or none | Normal |
| 2 | Shift |
| 3 | Alt |
| 4 | Alt + Shift |
| 5 | Control |
| 6 | Shift + Control |
| 7 | Alt + Control |
| 8 | Alt + Control + Shift |