I have been trying to understand how the TTY device driver works on a linuxLinux machine. For for a few days now and still cantcan't wrap my head around the idea.
When we open a terminal to ssh to a server, I understand most likely it will use pseudo-tty,tty; that acts like a TTY in the terminal and processprocesses the commands typed.
Since it uses a pseudo type tty, under the hood does it still use the tty technology to sentsend out commands to the console?
In laymens termlayman's terms, is the TTY always used in sending out commands to the console regardless of the terminal used? Is it the main driver for all things terminal?
I understand thatthe tty character device that handles input and output and bunch of things that sends out signals to master/slave..Also I also know that a tty was used in the olden days. Is it still used today when opening our terminal regarding of osOS/program used?
My knowledge is all over the place. I have very limited linuxLinux knowledge. Would love to have a laymenslayman's explanation on how TTY works in todays linuces.
Anything would be helpful including calling names if Im completely way out of my leaguetoday's Linux distributions.
—-