Comment by fao_
14 hours ago
> The catch: the shell normally puts the terminal in *cooked mode,*
Yeah, that's not the name of the mode. In this sense, it's "canonical mode". Description reads like AI slop where technical content was reformatted into marketing/PRspeak. It feels like a 30 year old PR representative desperately trying to twist any kind of technical language specifically to pander to the AAVE-derived slang of the younger set of internet-addled minds.
As a result, this does not interest me.
For anyone who is interested in ANSI terminal stuff, or building their own, Lexi Hale had a decent article on this: https://news.ycombinator.com/item?id=24436860
Except it’s actually called “cooked mode” [1] and predates the use of the slang.
[1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/
"cooked mode" refers to physical teletypes, though. In the POSIX spec[1] it's called "canonical mode", same for the other specifications (if they're mentioned at all, I don't think the ANSI specification mentions either term).
https://en.wikipedia.org/wiki/POSIX_terminal_interface#Canon...
Top comment on the previous thread was someone complaining about the writing style of kids these days. Huh.