I think I've finally realized that a weird thing about the terminal is that a lot of things just are not actually documented in any reasonable way? Like if you want to know more about `Ctrl+C` and you use `zsh` for example, the only official documentation I can really find is `man termios` or man stty

realistically in practice I think most people do not read "official documentation" for stuff like this, it's easier to rely on friendly coworkers / blog posts / stack overflow

feels weird that if you want to know how to use "the terminal", even if you have an unlimited amount of time and energy, there really isn't documentation that you can reasonably read

like I guess you could read your shell's manual, your terminal emulator's docs, the xterm docs (because your terminal is probably "xterm compatible”), find the man pages (how?) for every popular command and read those, then `man termios` and `man stty` and the other conceptual man pages, but there's a lot more

@b0rk have you come across this? It's not 100% accurate according to a terminal guru friend, and focuses on the Linux TTY, but it's a start I guess

https://www.linusakesson.net/programming/tty/index.php

@dngrs yeah it’s a nice document! i should start maintaining a list of all the things like this
@b0rk @dngrs I can’t vouch for current editions but if they’re as good as the 30 year old version I learned from, I highly recommend checking out the Evi Nemeth system administration books. If you want to go deeper, the old O’Reilly Unix Systems Programming for SVR4 book bridges nicely from the simple, common CLI commands into syscalls down toward OS internals in a relatively abstracted way. The right kernel internals reference below that will vary with OS.
@tpepper @b0rk sounds like it's focused on OS functionality and how to interface with it through CLI commands though - not so much "what is *the terminal*, and how does it work"? Or am I mistaken?