pty man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

pty(1)			  BSD General Commands Manual			pty(1)

NAME
     pty — redirects terminal I/O to pseudo-terminal

SYNOPSIS
     pty

DESCRIPTION
     Pty is a tool to help debug console programs which take the terminal out
     of canonical mode, by allowing the program being debugged and the debug‐
     ger to run on separate terminal devices.  This allows one to step through
     program code in the debugger without messing up the terminal settings of
     the program being debugged or having debugger output overwrite program
     output.

     To use pty, the programmer changes to the terminal device where he or she
     wishes to interact with the program to be debugged, and at the shell
     prompt, runs pty with no arguments.  Pty will print out the filename of
     the slave side of the pseudo-terminal it has opened.  Inside the debug‐
     ger, running in another terminal device, one then redirects the program
     to be debugged's IO to the slave (tty command of gdb).  Thereafter, when
     running the program under the debugger, its I/O will occur on the device
     on which pty is running.

     When you are finished using pty, you must manually kill it.  When pty
     starts it also prints out its pid.

AUTHORS
     James Bailie ⟨jimmy@mammothcheese.ca⟩
     http://www.mammothcheese.ca

				 Oct 06, 2007
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net