Control sequences
CSI, then parameters, then a final byte: the bulk of what a terminal understands.
| DECCARA | Change Attributes in Rectangular Area | CSI Pt ; Pl ; Pb ; Pr ; Pm $ r |
… |
|---|---|---|---|
| HPA | Character Position Absolute | CSI Pn ` |
… |
| HPB | Character Position Backward | CSI Pn j |
… |
| HPR | Character Position Forward | CSI Pn a |
… |
| DECCRA | Copy Rectangular Area | CSI Pm $ v |
… |
| CUB | Cursor Backward | CSI Pn D |
… |
| CBT | Cursor Backward Tabulation | CSI Pn Z |
… |
| CHA | Cursor Character Absolute | CSI Pn G |
… |
| CUD | Cursor Down | CSI Pn B |
… |
| CUF | Cursor Forward | CSI Pn C |
… |
| CHT | Cursor Horizontal Tabulation | CSI Pn I |
… |
| CNL | Cursor Next Line | CSI Pn E |
… |
| CUP | Cursor Position | CSI Pl ; Pc H |
… |
| CPL | Cursor Preceding Line | CSI Pn F |
… |
| CTC | Cursor Tabulation Control | CSI Pm W |
… |
| CUU | Cursor Up | CSI Pn A |
… |
| DECDSR | DEC Device Status Reports | CSI ? Ps n |
… |
| DCH | Delete Character | CSI Pn P |
… |
| DL | Delete Line | CSI Pn M |
… |
| DA | Device Attributes | CSI Ps c |
… |
| DSR | Device Status Report | CSI Ps n |
… |
| ECH | Erase Character | CSI Pn X |
… |
| DECERA | Erase Rectangular Area | CSI Pt ; Pl ; Pb ; Pr $ z |
… |
| ED | Erase in Display | CSI Ps J |
… |
| EL | Erase in Line | CSI Ps K |
… |
| DECFRA | Fill Rectangular Area | CSI Pch ; Pt ; Pl ; Pb ; Pr $ x |
… |
| HVP | Horizontal and Vertical Position | CSI Pl ; Pc f |
… |
| ICH | Insert Character | CSI Pn @ |
… |
| IL | Insert Line | CSI Pn L |
… |
| DECIC | Insert Column | CSI Pn ' } |
… |
| DECTST | Invoke Confidence Test | CSI 4 ; Ps … y |
… |
| XTMODKEYS | Set Key Modifier Options | CSI > Pp ; Pv m |
… |
| CSI = u | Kitty Keyboard Protocol | CSI = Ps ; Pm u |
… |
| VPA | Line Position Absolute | CSI Pn d |
… |
| VPB | Line Position Backward | CSI Pn k |
… |
| VPR | Line Position Forward | CSI Pn e |
… |
| DECELR | Enable Locator Reports | CSI Ps ; Pu ' z |
… |
| MC | Media Copy | CSI Ps i |
… |
| NP | Next Page | CSI Pn U |
… |
| REP | Repeat | CSI Pn b |
… |
| XTVERSION | Report Version | CSI > Ps q |
… |
| DECRQCRA | Request Checksum of Rectangular Area | CSI Pi ; Pp ; Pt ; Pl ; Pb ; Pr * y |
… |
| DECRQM | Request Mode | CSI ? Pd $ p |
… |
| DECRQPSR | Request Presentation State Report | CSI Ps $ w |
… |
| SD | Scroll Down | CSI Pn T |
… |
| SL | Scroll Left | CSI Pn SP @ |
… |
| SU | Scroll Up | CSI Pn S |
… |
| DECSR | Secure Reset | CSI Pr + p |
… |
| DECSCL | Select Conformance Level | CSI Pl ; Pc " p |
… |
| SGR | Select Graphic Rendition | CSI Pm m |
… |
| SIMD | Select Implicit Movement Direction | CSI Ps ^ |
… |
| DECSNLS | Select Number of Lines per Screen | CSI Pn * | |
… |
| DECSCA | Select Character Protection Attribute | CSI Ps " q |
… |
| DECSCPP | Set Columns Per Page | CSI Pn $ | |
… |
| DECSCUSR | Set Cursor Style | CSI Ps SP q |
… |
| DECSLRM | Set Left and Right Margins | CSI Pl ; Pr s |
… |
| SM | Set Mode | CSI Pm h |
… |
| DECSTBM | Set Top and Bottom Margins | CSI Pt ; Pb r |
… |
| DECSTR | Soft Terminal Reset | CSI ! p |
… |
| DECSASD | Select Active Status Display | CSI Ps $ } |
… |
| TBC | Tabulation Clear | CSI Ps g |
… |
| DECRQTSR | Request Terminal State Report | CSI Ps $ u |
… |
| XTWINOPS | Window Operations | CSI Ps ; Ps ; Ps t |
… |