Off-Topic > Off-Topic - Tiny Core Lounge

the TTY demystified

(1/1)

mocore:

--- Quote from: http://tinycorelinux.net/ ---Learn. Share. Grow your knowledge of Linux.
--- End quote ---

i was skimming through
  "the TTY demystified" @ https://www.linusakesson.net/programming/tty/index.php

ans wandered if it had been posted this hear ( search didn't find any previous mentions)


--- Quote ---The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it. I believe that a basic understanding of TTYs in Linux is essential for the developer and the advanced user.

--- End quote ---

...


--- Quote ---In The Hitchhiker's Guide to the Galaxy, Douglas Adams mentions an extremely dull planet, inhabited by a bunch of depressed humans and a certain breed of animals with sharp teeth which communicate with the humans by biting them very hard in the thighs. This is strikingly similar to UNIX,in which the kernel communicates with processes by sending paralyzing or deadly signals to them. Processes may intercept some of the signals, and try to adapt to the situation, but most of them don't.

--- End quote ---


https://github.com/torvalds/linux/blob/master/drivers/tty/n_tty.c

https://docs.kernel.org/5.17/tty/n_tty.html

https://github.com/torvalds/linux/blob/master/drivers/tty/tty_io.c

https://www.kernel.org/doc/html/v5.8/driver-api/serial/tty.html

mocore:

https://gist.github.com/jottr/a2351377b7584abf100b?permalink_comment_id=4433821#gistcomment-4433821

--- Quote ---Where does the ctrl+c (aka C-c or \C-c) come from? Any ideas?

--- End quote ---


--- Quote ---It comes from the line discipline part of the TTY driver.

--- End quote ---

more about
other (readline)shortcuts
 Linux Terminal Keyboard Shortcuts @  https://forum.tinycorelinux.net/index.php/topic,22130.0.html
the short cuts in the last link (afaik) were  obtained by divination
hear is another (markdown) list https://gist.github.com/jottr/a2351377b7584abf100b
that mentions
--- Quote ---source: arch wiki
--- End quote ---

*celebratory dancing*

(Technotronic - Pump Up The Jam)
https://www.youtube.com/watch?v=9EcjWd-O4jI



Navigation

[0] Message Index

Go to full version