Search notes:

Linux terminal subsystem

The terminal subsystem consists of three layers
The line discipline glues the upper and the lower layer together.
The tty subsystem is passive: it only reacts on either a key being pressed or the user requesting something from it.

See also

drivers/char/tty_io.c
TTY

Index