Terminal Escape Sequences
Official docs outline
8 sections- XTerm control sequences
CSI, OSC, SGR and mouse reporting.
- ECMA-48
Control functions for coded character sets.
- console_codes(4)
Linux console control sequences, CSI codes and SGR attributes.
- termios(3)
Terminal line discipline and raw mode.
- pty(7)
Pseudoterminal master and slave devices behind terminal emulators.
- terminfo(5)
Terminal capability database used by curses and tput.
- VT510 reference
DEC VT510 programming reference for escape sequences and modes.
- Windows virtual terminal sequences
ANSI support in Windows console.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.