open_init_pty(8) debian man page | unix.com

Man Page: open_init_pty

Operating Environment: debian

Section: 8

OPEN_INIT_PTY(8)							NSA							  OPEN_INIT_PTY(8)

NAME
open_init_pty - run an program under a pseudo terminal
SYNOPSIS
open_init_pty SCRIPT [[ARGS]...]
DESCRIPTION
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.
AUTHOR
This manual page was written by Manoj Srivastava <srivasta@debian.org>, for the Debian GNU/Linux system. Security Enhanced Linux January 2005 OPEN_INIT_PTY(8)
Related Man Pages
pty(4) - debian
se_apt-get(8) - debian
se_synaptic(8) - debian
grantpt(3c) - sunos
pty(4) - x11r4
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Detecting unused variables...
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph