Extra Credit

Terminal Escape Sequences

Official docs outline

8 sections
  1. XTerm control sequences

    CSI, OSC, SGR and mouse reporting.

  2. ECMA-48

    Control functions for coded character sets.

  3. console_codes(4)

    Linux console control sequences, CSI codes and SGR attributes.

  4. termios(3)

    Terminal line discipline and raw mode.

  5. pty(7)

    Pseudoterminal master and slave devices behind terminal emulators.

  6. terminfo(5)

    Terminal capability database used by curses and tput.

  7. VT510 reference

    DEC VT510 programming reference for escape sequences and modes.

  8. 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.

All 5