open_init_pty (8) - Linux Man Pages
open_init_pty: run an program under a psuedo terminal
NAMEopen_init_pty - run an program under a psuedo terminal
SYNOPSISopen_init_pty SCRIPT [[ARGS]...]
Run a program under a psuedo terminal. This is used by run_init to run actually run the program after setting up the proper context. This program acquires a new Psuedo terminal, forks a child process that binds to the psueado terminal, and then sits around and connects the physical terminal it was invoked upon with the pseudo terminal, passing keyboard input into to the child process, and passing the output of the child process to the physical terminal.
AUTHORThis manual page was written by Manoj Srivastava <srivasta [at] debian.org>, for the Debian GNU/Linux system.