-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Milestone
Description
In DECRQM some mode flags are reported wrong (references from https://vt100.net/mirror/mds-199909/cd3/term/vt520rma.pdf):
- KAM - should point to PERMANENTLY_RESET, as we dont support keyboard locking on VT level
KAM—Keyboard Action Mode
This control function locks or unlocks the keyboard.
Default: Unlocked
CSI 2 h Set: locks the keyboard.
CSI 2 l Reset: unlocks the keyboard.
Description
If KAM is set, then the keyboard cannot send characters to the host. The Wait
indicator appears on the keyboard indicator line at the bottom of the screen. The
terminal ignores all keystrokes that send characters to the host. KAM does not
affect the F3 (Set-Up) or F4 (Session) keys.
If KAM is reset, then the terminal unlocks the keyboard. The keyboard can send
characters to the host.
- SRM - should point to PERMANENTLY_SET, we have no local echo implemented in xterm.js
SRM—Local Echo: Send/Receive Mode
This control function turns local echo on or off. When local echo is on, the
terminal sends keyboard characters to the screen. The host does not have to send
(echo) the characters back to the terminal display. When local echo is off, the
terminal only sends characters to the host. It is up to the host to echo characters
back to the screen.
Default: No local echo
CSI 1 2 h Set: local echo off.
CSI 1 2 l Reset: local echo on.
Description
When the SRM function is set, the terminal sends keyboard characters to the
host only. The host can echo the characters back to the screen.
When the SRM function is reset, the terminal sends keyboard characters to
the host and to the screen. The host does have to echo characters back to the
terminal.
Prolly also needs to be changed in the VT docs...
Reactions are currently unavailable