VT510 Video Terminal Programmer Information

DECSMKR—Select Modifier Key Reporting

Program the modifier keys to send extended keyboard reports when pressed or released. DECSMKR only works when key position mode (DECKPM) is set. Applications can use DECSMKR to gain more control over the keyboard by monitoring the action of each modifier key.

Format

CSI
9/11
Pm1
3/n
;
3/11
Pf1
3/n
...
...
Pmn
3/n
;
3/11
Pfn
3/n
+
2/11
r
7/2

Parameters

Pmn
is the key number that corresponds to the modifier key affected.
A Pmn value of 0 selects all modifier keys.

Pmn Key Default Function
1 left Shift Local shift.
2 right Shift Local shift.
3 Lock Local lock.
4 Ctrl Local control.
5 left Alt Function Report up or down transitions.
6 right Alt Function Report up or down transitions.
7 left Compose Character Local compose.
8 right Compose Character Local compose.

Pfn
controls the action of the modifier key specified by the corresponding Pmn value.

Pfn Meaning
0 Selects the default function of the key.
1 The key performs its default modifier function.
2 The key sends an extended keyboard report when pressed or released. The key does not modify other keystrokes or perform its default function.
3 The key is disabled.

Description

DECSMKR can accept any number of parameter pairs. The terminal executes the parameters in the order in which it receives them. Applications cannot change the function of the F5 (Break) key. This restriction is required for secure systems to ensure that the operator has control of the communication line.