OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man7 / pty.7
index c6d8c35..81cc1f6 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2005 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .TH PTY 7 2005-10-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
@@ -48,7 +48,7 @@ that is connected to the slave.
 Conversely, anything that is written to the slave end of the
 pseudoterminal can be read by the process that is connected to
 the master end.
-Psuedoterminals are used by applications such as network login services
+Pseudoterminals are used by applications such as network login services
 .RB ( ssh "(1), " rlogin "(1), " telnet (1)),
 terminal emulators,
 .BR script (1),
@@ -68,7 +68,7 @@ on Linux systems.
 Since kernel 2.6.4, BSD-style pseudoterminals are considered deprecated
 (they can be disabled when configuring the kernel);
 UNIX 98 pseudoterminals should be used in new applications.
-.SS "UNIX 98 pseudoterminals"
+.SS UNIX 98 pseudoterminals
 An unused UNIX 98 pseudoterminal master is opened by calling
 .BR posix_openpt (3).
 (This function opens the master clone device,
@@ -100,7 +100,7 @@ and a corresponding file,
 indicates how many pseudoterminals are currently in use.
 For further details on these two files, see
 .BR proc (5).
-.SS "BSD pseudoterminals"
+.SS BSD pseudoterminals
 BSD-style pseudoterminals are provided as precreated pairs, with
 names of the form
 .I /dev/ptyXY
@@ -121,7 +121,7 @@ A process finds an unused pseudoterminal pair by trying to
 each pseudoterminal master until an open succeeds.
 The corresponding pseudoterminal slave (substitute "tty"
 for "pty" in the name of the master) can then be opened.
-.SH "FILES"
+.SH FILES
 .I /dev/ptmx
 (UNIX 98 master clone device)
 .br
@@ -133,7 +133,7 @@ for "pty" in the name of the master) can then be opened.
 .br
 .I /dev/tty[p-za-e][0-9a-f]
 (BSD slave devices)
-.SH "NOTES"
+.SH NOTES
 A description of the
 .B TIOCPKT
 .BR ioctl (2),
@@ -149,7 +149,7 @@ operations
 and
 .BR TIOCREMOTE
 have not been implemented under Linux.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR select (2),
 .BR setsid (2),
 .BR forkpty (3),
@@ -158,3 +158,12 @@ have not been implemented under Linux.
 .BR pts (4),
 .BR tty (4),
 .BR tty_ioctl (4)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.