1OPEN_INIT_PTY(8)                      NSA                     OPEN_INIT_PTY(8)
2
3
4

NAME

6       open_init_pty - run an program under a pseudo terminal
7

SYNOPSIS

9       open_init_pty SCRIPT [[ARGS]...]
10

DESCRIPTION

12       Run  a program under a pseudo terminal. This is used by run_init to run
13       actually run the program after setting up the proper context. This pro‐
14       gram  acquires  a new Pseudo terminal, forks a child process that binds
15       to the pseudo terminal, and then sits around and connects the  physical
16       terminal it was invoked upon with the pseudo terminal, passing keyboard
17       input into to the child process, and passing the output  of  the  child
18       process to the physical terminal.
19
20       It  sets up the pseudo terminal properly based on the physical terminal
21       attributes, and then sets the user's terminal to RAW mode, taking  care
22       to reset it on exit.
23

AUTHOR

25       This manual page was written by Manoj Srivastava <srivasta@debian.org>,
26       for the Debian GNU/Linux system.
27
28
29
30Security Enhanced Linux          January 2005                 OPEN_INIT_PTY(8)
Impressum