>Input to terminal
The terminal can either take input from a sub-process, or from the application directly.
- to fork a session in which to launch a terminal application.
- to signal the child process (as in signal(2)).
- to close the master pty, and let the child quit.
- Feed data directly to the terminal