DECELF—Enable Local Functions
This control function lets you enable or disable the keys used to perform several local terminal functions: cutting and pasting text, panning, and resizing windows. DECELF is useful for:
- Simplifying the keyboard for novice users
- Letting the corresponding keys send position codes to the host when key position mode (DECKPM) is set
- Disabling features that are not compatible with the application
Format
CSI 9/11 |
Pf1 3/n |
; 3/11 |
Pc1 3/n |
; 3/11 |
... ... |
Pfn 3/n |
; 3/11 |
Pcn 3/n |
+ 2/11 |
q 7/1 |
Parameters
Pfn
is a number that specifies the local function affected.
Pfn | Local Functions Affected | Default Setting |
---|---|---|
0 (default) | All local functions listed for 1, 2, and 3. | |
1 | Copy and paste keys, including F1 (Hold), Select, Remove, and Insert Here. | The keys are enabled. |
2 | Panning keys, including Ctrl with ⇑, ⇓, ⇐, or ⇒. | The keys are enabled. |
3 | Window resizing keys, including: Ctrl and Shift with ⇑ or ⇓ keys. | The keys are enabled. |
Pcn
controls the action of the local function specified by the corresponding Pfn value.
Pcn | Meaning |
---|---|
0 | Selects the default setting of the local function. In VT mode, the default setting is enabled. In PC Term mode, the default setting is disabled. |
1 | Enables the local function. The associated keys perform the local function and cannot send position codes to the host. |
2 | Disables the local function. The associated keys do not perform the local function and may send position codes to the host. |
Description
DECELF can accept any number of parameter pairs. The terminal executes the parameters in the order in which it receives them.