3 ms·
A distinction you may be having trouble with, because it's kind of hidden from the user, is the difference between a shell and a "pty" (pseudo teletype). You ce
by pjc50 8y ago
A distinction you may be having trouble with, because it's kind of hidden from the user, is the difference between a shell and a "pty" (pseudo teletype). You certainly can spawn a shell and send it commands, but because it doesn't have a pty the input is treated very differently.
That's what you get setup for you by running tmux, screen, expect, xterm, ssh etc.
(Bonus: https://askubuntu.com/questions/481906/what-does-tty-stand-for/482244#482244 https://askubuntu.com/questions/481906/what-does-tty-stand-f... )