A pty is a pseudo-terminal - it's a software implementation that appears to the attached program like a terminal, but instead of communicating directly with a "real" terminal, it transfers the input and output to another program.
I'd like to write a x11 terminal emulator, but I don't know how I should spawn and communicate with the …
linux tty pty terminal-emulatorI'm trying to write a Ruby script that will ssh over to a server, run a given command, and fetch …
ruby expect pty