I have a program that requires a tty to work. How do I run this program in a separate tty to my shell and then interact with it? (by writing to the interactive stdin, reading from stdout)?
This is what the Expect program is for. See that URL and/or the expect(1) man page on your system, if it is already installed.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago