TLDR Web Dev · MISCELLANEOUS
"RULES" THAT TERMINAL PROGRAMS FOLLOW
Summary from the TLDR Web Dev newsletter
Some unwritten "rules" of terminal program behavior include using Ctrl-C to quit non-interactive programs and Ctrl-D to exit REPLs on empty lines. Other rules include color limitations (16 colors), readline keybinding mimicry, and the use of "-" to represent stdin/stdout.