"Rules" that terminal programs follow

from blog Julia Evans, | ↗ original
Recently I’ve been thinking about how everything that happens in the terminal is some combination of: Your operating system’s job Your shell’s job Your terminal emulator’s job The job of whatever program you happen to be running (like top or vim or cat) The first three (your operating system, shell, and terminal) are all kind of known quantities...