TTYs
TTY stands for teletypewriter, originally a mechanical device that could print and receive text over a communications line. In computing, the term has broadened to refer to any device or interface that provides character-based input and output for a program. Physical TTYs included early electromechanical terminals and serial line consoles; today the term also covers software terminals, which simulate a TTY for text terminals.
Historically, teletypewriters connected to mainframes and minicomputers via serial lines. As display terminals emerged, they replaced
In Unix-like systems, a TTY can be a physical serial device (such as /dev/ttyS0), a virtual console,
Modern usage includes serial console access to routers and embedded devices, terminal emulators within desktop environments,