Home
March 16, 2010 3:48:16 PM EST
home
back print
OPEN_INIT_PTY   (8) manpage
OPEN_INIT_PTY
8
January 2005
Security Enhanced Linux
NSA
  • NAME
      open_init_pty - run an program under a psuedo terminal
  • SYNOPSIS
      open_init_pty SCRIPT [[ARGS]...]
  • DESCRIPTION


      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.

      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.


Current Users: 105 © 1999-2009 PenguinSoft. All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.