Is the term TTY only a metaphor in modern day Linux systems referring to any CLI environment (direct as in GUI-less distros, and/or indirect as a CLI window in GUI-based distros).
Asked
Active
Viewed 291 times
0
1 Answers
2
It is a metaphor in the sense that the name is coming from the TeleType console writer:
...which was essentially an ancient electromechanical writing machine. It was used as the keyboard of some ancient unix big computer.
Today, the few remaining parts of them are in IT museums. But the console character devices still named as /dev/tty or similarly.
Its current meaning is roughly "kernel-driven character console".
Many character environments don't need a tty device for a functioning CLUI (Command Line User Interface), and may work with or without one.
peterh
- 9,731

aptitudeor the text editorsvimornano. – AlexP Nov 14 '17 at 07:33nanodoesn't require attydevice) but working with the 3 standard stream might require so (and I emphasize the "might"). Is that what you meant? – Arcticooling Nov 14 '17 at 08:13nanoabsolutely requires a tty; the point is thatnanois not a CLI application; it's a character-cell application. Character-cell applications (such asnanoorvimoraptitudeormcorlynx) by their very nature need a tty, because they need to have a bidimensional array of cells where to place the characters. A command-line application, such aslsorbcorfindworks fine without a tty. The three standard streams have nothing to do with terminals. – AlexP Nov 14 '17 at 08:19