doc: ctlseq: sort “misc” CSI sequences

This commit is contained in:
Daniel Eklöf 2021-02-16 14:15:46 +01:00
parent 3c69a9c7e1
commit 0a33ce3e78
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -323,35 +323,19 @@ that corresponds to one of the following modes:
:[ *Name* :[ *Name*
:[ *Origin* :[ *Origin*
:[ *Description* :[ *Description*
| \\E[ _Ps_ b
: REP
: ECMA-48
: Repeat the preceding printable character _Ps_ times.
| \\E[ _Ps_ c | \\E[ _Ps_ c
: DA : DA
: VT100 : VT100
: Send primary device attributes. Foot responds with "I'm a VT220 with : Send primary device attributes. Foot responds with "I'm a VT220 with
sixel and ANSI color support". sixel and ANSI color support".
| \\E[ _Pm_ d
: VPA
: ECMA-48
: Line position absolute - move cursor to line _Pm_.
| \\E[ _Ps_ A | \\E[ _Ps_ A
: CUU : CUU
: VT100 : VT100
: Cursor up - move cursor up _Ps_ times. : Cursor up - move cursor up _Ps_ times.
| \\E[ _Pm_ e
: VPR
: ECMA-48
: Line position relative - move cursor down _Pm_ lines.
| \\E[ _Ps_ B | \\E[ _Ps_ B
: CUD : CUD
: VT100 : VT100
: Cursor down - move cursor down _Ps_ times. : Cursor down - move cursor down _Ps_ times.
| \\E[ _Pm_ a
: HPR
: ECMA-48
: Character position relative - move cursor to the right _Pm_ times.
| \\E[ _Ps_ C | \\E[ _Ps_ C
: CUF : CUF
: VT100 : VT100
@ -360,26 +344,10 @@ that corresponds to one of the following modes:
: CUB : CUB
: VT100 : VT100
: Cursor backward - move cursor to the left _Ps_ times. : Cursor backward - move cursor to the left _Ps_ times.
| \\E[ _Ps_ E
: CNL
: ECMA-48
: Cursor next line - move the cursor down _Ps_ times.
| \\E[ _Ps_ F
: CPL
: ECMA-48
: Cursor preceding line - move the cursor up _Ps_ times.
| \\E[ _Ps_ g | \\E[ _Ps_ g
: TBC : TBC
: VT100 : VT100
: Tab clear. _Ps_=0 -> clear current column. _Ps_=3 -> clear all. : Tab clear. _Ps_=0 -> clear current column. _Ps_=3 -> clear all.
| \\E[ _Pm_ `
: HPA
: ECMA-48
: Character position absolute - move cursor to column _Pm_.
| \\E[ _Ps_ G
: CHA
: ECMA-48
: Cursor character absolute - move cursor to column _Ps_.
| \\E[ _Ps_ ; _Ps_ f | \\E[ _Ps_ ; _Ps_ f
: HVP : HVP
: VT100 : VT100
@ -392,12 +360,26 @@ that corresponds to one of the following modes:
: ED : ED
: VT100 : VT100
: Erase in display. _Ps_=0 -> below cursor. _Ps_=1 -> above : Erase in display. _Ps_=0 -> below cursor. _Ps_=1 -> above
cursor. _Ps_=2 -> all. _Ps_=3 -> saved lines.
| \\E[ _Ps_ K | \\E[ _Ps_ K
: EL : EL
: VT100 : VT100
: Erase in line. _Ps_=0 -> right of cursor. _Ps_=1 -> left of : Erase in line. _Ps_=0 -> right of cursor. _Ps_=1 -> left of
cursor. _Ps_=2 -> all. cursor. _Ps_=2 -> all.
| \\E[ _Pm_ h
: SM
: VT100
: Set mode. _Pm_=4 -> enable IRM (insert mode). All other values of
_Pm_ are unsupported.
| \\E[ _Pm_ l
: RM
: VT100
: Reset mode. _Pm_=4 -> disable IRM (insert mode). All other values of
_Pm_ are unsupported.
| \\E[ _Ps_ n
: DSR
: VT100
: Device status report. _Ps_=5 -> device status. _Ps_=6 -> cursor
position.
| \\E[ _Ps_ L | \\E[ _Ps_ L
: IL : IL
: VT220 : VT220
@ -414,36 +396,27 @@ that corresponds to one of the following modes:
: ICH : ICH
: VT220 : VT220
: Insert _Ps_ blank characters. : Insert _Ps_ blank characters.
| \\E[ _Ps_ S
: SU
: ECMA-48
: Scroll up _Ps_ lines.
| \\E[ _Ps_ T
: SD
: VT420
: Scroll down _Ps_ lines.
| \\E[ _Ps_ X | \\E[ _Ps_ X
: ECH : ECH
: VT220 : VT220
: Erase _Ps_ characters. : Erase _Ps_ characters.
| \\E[ _Ps_ I | \\E[ > c
: CHT : DA2
: ECMA-48 : VT220
: Cursor forward tabulation _Ps_ tab stops. : Send secondary device attributes. Foot responds with "I'm a VT220
| \\E[ _Ps_ Z and here's my version number".
: CBT | \\E[ ! p
: ECMA-48 : DECSTR
: Cursor backward tabulation _Ps_ tab stops. : VT220
| \\E[ _Pm_ h : Soft terminal reset.
: SM | \\E[ ? _Ps_ $ p
: VT100 : DECRQM
: Set mode. _Pm_=4 -> enable IRM (insert mode). All other values of : VT320
_Pm_ are unsupported. : Request DEC private mode.
| \\E[ _Pm_ l | \\E[ _Ps_ T
: RM : SD
: VT100 : VT420
: Reset mode. _Pm_=4 -> disable IRM (insert mode). All other values of : Scroll down _Ps_ lines.
_Pm_ are unsupported.
| \\E[ s | \\E[ s
: SCOSC : SCOSC
: SCO, VT510 : SCO, VT510
@ -452,33 +425,61 @@ that corresponds to one of the following modes:
: SCORC : SCORC
: SCO, VT510 : SCO, VT510
: Restore cursor position. : Restore cursor position.
| \\E[ _Ps_ n
: DSR
: VT100
: Device status report. _Ps_=5 -> device status. _Ps_=6 -> cursor
position.
| \\E[ > c
: DA2
: VT220
: Send secondary device attributes. Foot responds with "I'm a VT220
and here's my version number".
| \\E[ _Ps_ SP q | \\E[ _Ps_ SP q
: DECSCUSR : DECSCUSR
: VT510 : VT510
: Set cursor style. In foot, _Ps_=0 means "use style from foot.ini". : Set cursor style. In foot, _Ps_=0 means "use style from foot.ini".
| \\E[ ! p
: DECSTR
: VT220
: Soft terminal reset.
| \\E[ = _Ps_ c | \\E[ = _Ps_ c
: DA3 : DA3
: VT510 : VT510
: send tertiary device attributes. Foot responds with "FOOT", in : send tertiary device attributes. Foot responds with "FOOT", in
hexadecimal. hexadecimal.
| \\E[ ? _Ps_ $ p | \\E[ _Pm_ d
: DECRQM : VPA
: VT320 : ECMA-48
: Request DEC private mode. : Line position absolute - move cursor to line _Pm_.
| \\E[ _Pm_ e
: VPR
: ECMA-48
: Line position relative - move cursor down _Pm_ lines.
| \\E[ _Pm_ a
: HPR
: ECMA-48
: Character position relative - move cursor to the right _Pm_ times.
| \\E[ _Ps_ E
: CNL
: ECMA-48
: Cursor next line - move the cursor down _Ps_ times.
| \\E[ _Ps_ F
: CPL
: ECMA-48
: Cursor preceding line - move the cursor up _Ps_ times.
| \\E[ _Pm_ `
: HPA
: ECMA-48
: Character position absolute - move cursor to column _Pm_.
| \\E[ _Ps_ G
: CHA
: ECMA-48
: Cursor character absolute - move cursor to column _Ps_.
cursor. _Ps_=2 -> all. _Ps_=3 -> saved lines.
| \\E[ _Ps_ S
: SU
: ECMA-48
: Scroll up _Ps_ lines.
| \\E[ _Ps_ I
: CHT
: ECMA-48
: Cursor forward tabulation _Ps_ tab stops.
| \\E[ _Ps_ Z
: CBT
: ECMA-48
: Cursor backward tabulation _Ps_ tab stops.
| \\E[ _Ps_ b
: REP
: ECMA-48
: Repeat the preceding printable character _Ps_ times.
TODO TODO