GNU.WIKI: The GNU/Linux Knowledge Base
[HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]
[0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]
open_init_pty - run an program under a pseudo terminal
open_init_pty SCRIPT [[ARGS]...]
Run a program under a pseudo terminal. This is used by run_init to run
actually run the program after setting up the proper context. This
program acquires a new Pseudo terminal, forks a child process that
binds to the pseudo 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.
It sets up the pseudo terminal properly based on the physical terminal
attributes, and then sets the user's terminal to RAW mode, taking care
to reset it on exit.
This manual page was written by Manoj Srivastava <firstname.lastname@example.org>,
for the Debian GNU/Linux system.
All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to email@example.com.Page load time: 0.111 seconds. Last modified: November 04 2018 12:49:43.