summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-23 04:48:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-23 04:48:40 +0000
commit414ebcda1521ba3b3f4a382cda5b57f684570dfe (patch)
treeed6fb4cee4232d6103b016fa9b22b5a32727658c /share
parentd445ea6639a25195558fb57542dd3fde0ff042cb (diff)
doc TIOCPKT_IOCTL; fair
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/pty.420
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man4/pty.4 b/share/man/man4/pty.4
index 125995a5ab0..4baf62dfff1 100644
--- a/share/man/man4/pty.4
+++ b/share/man/man4/pty.4
@@ -1,4 +1,4 @@
-.\" $NetBSD: pty.4,v 1.3 1994/11/30 16:22:30 jtc Exp $
+.\" $NetBSD: pty.4,v 1.4 1998/03/21 03:14:30 fair Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -139,6 +139,24 @@ to implement a remote-echoed, locally
flow-controlled
remote login with proper back-flushing of output; it can be
used by other similar programs.
+.It Dv TIOCPKT_IOCTL
+When this bit is set, the slave has changed the
+.Xr termios 4
+structure (TTY state), and the remainder of the data read from
+the master side of the
+.Nm
+is a copy of the new
+.Xr termios 4
+structure.
+.Pp
+This is used by
+.Xr telnetd 8
+to implement TELNET "line mode" - it allows the
+.Xr telnetd 8
+to detect
+.Xr tty 4
+state changes by the slave, and negotiate the appropriate TELNET
+protocol equivalents with the remote peer.
.El
.It Dv TIOCUCNTL
Enable/disable a mode that allows a small number of simple user