From 414ebcda1521ba3b3f4a382cda5b57f684570dfe Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 23 Mar 1998 04:48:40 +0000 Subject: doc TIOCPKT_IOCTL; fair --- share/man/man4/pty.4 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3