A program that does "graphics" on a terminal controls the
terminal by sending strings called terminal escape sequences
that the terminal (or terminal emulator) interprets as special commands.
The term mode includes a terminal emulator that understands
standard ANSI escape sequences, originally popularized by VT100 terminals,
and now used by the xterm program and most modern terminal
emulator software.
| • Cursor motion: | Escape sequences to move the cursor | |
| • Erasing: | Escape commands for erasing text | |
| • Inserting and deleting: | Escape sequences to insert and delete text | |
| • Scrolling: | Escape sequences to scroll part of the visible window | |
| • Command hook: | ||
| • Miscellaneous escapes: |
printing chars
tab
LF