spent some time today working on this diagram of how the ASCII control characters work in unix

there are a lot of mistakes/missing nuance but I think it's really interesting how little structure there is. Special codes (like `3` for SIGINT) that are handled by the OS are mixed with just regular keypresses (like `13` for "enter”) which are mixed with codes that are handled by the application (like `1` for Ctrl-A in readline)

(not looking for history lessons right now)

Follow

@b0rk If I UC that by "handled by terminal driver" you mean "... in non-raw mode" (otherwise e.g. C-V isn't) then C-H also is hanled by the terminal driver (also, TIL by looking at `stty -a` that C-R in non-raw mode is handled by terminal driver and means "redraw current line").

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.