Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc
   1 '\" te
   2 .\" Copyright 1989 AT&T
   3 .\" Copyright (C) 2005, Sun Microsystems, Inc. All Rights Reserved
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH IN.TELNETD 1M "June 20, 2021"
   8 .SH NAME
   9 in.telnetd, telnetd \- DARPA TELNET protocol server
  10 .SH SYNOPSIS
  11 .nf
  12 \fB/usr/sbin/in.telnetd\fR [\fB-a\fR \fIauthmode\fR] [\fB-EXUh\fR] [\fB-s\fR \fItos\fR]
  13      [\fB-S\fR \fIkeytab\fR] [\fB-M\fR \fIrealm\fR]
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 \fBin.telnetd\fR is a server that supports the \fBDARPA\fR standard
  18 \fBTELNET\fR virtual terminal protocol. \fBin.telnetd\fR is normally invoked in
  19 the internet server (see \fBinetd\fR(1M)), for requests to connect to the
  20 \fBTELNET\fR port as indicated by the \fB/etc/services\fR file (see
  21 \fBservices\fR(4)).
  22 .sp
  23 .LP
  24 \fBin.telnetd\fR operates by allocating a pseudo-terminal device for a client,
  25 then creating a login process which has the slave side of the pseudo-terminal
  26 as its standard input, output, and error. \fBin.telnetd\fR manipulates the
  27 master side of the pseudo-terminal, implementing the \fBTELNET\fR protocol and
  28 passing characters between the remote client and the login process.

  29 .sp
  30 .LP
  31 When a \fBTELNET\fR session starts up, \fBin.telnetd\fR sends \fBTELNET\fR
  32 options to the client side indicating a willingness to do \fIremote\fR
  33 \fBecho\fR of characters, and to \fIsuppress\fR \fIgo\fR \fIahead\fR. The
  34 pseudo-terminal allocated to the client is configured to operate in "cooked"
  35 mode, and with \fBXTABS\fR, \fBICRNL\fR and \fBONLCR\fR enabled. See
  36 \fBtermio\fR(7I).
  37 .sp
  38 .LP
  39 \fBin.telnetd\fR is willing to do: \fIecho\fR, \fIbinary\fR, \fIsuppress\fR
  40 \fIgo\fR \fIahead\fR, and \fItiming\fR \fImark\fR. \fBin.telnetd\fR is willing
  41 to have the remote client do: \fIbinary\fR, \fIterminal\fR \fItype\fR,
  42 \fIterminal\fR \fIsize\fR, \fIlogout\fR \fIoption\fR, and \fIsuppress\fR
  43 \fIgo\fR \fIahead\fR.
  44 .sp
  45 .LP
  46 \fBin.telnetd\fR also allows environment variables to be passed, provided that
  47 the client negotiates this during the initial option negotiation. The
  48 \fBDISPLAY\fR environment variable may be sent this way, either by the


   1 '\" te
   2 .\" Copyright 1989 AT&T
   3 .\" Copyright (C) 2005, Sun Microsystems, Inc. All Rights Reserved
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH IN.TELNETD 1M "February 5, 2022"
   8 .SH NAME
   9 in.telnetd, telnetd \- DARPA TELNET protocol server
  10 .SH SYNOPSIS
  11 .nf
  12 \fB/usr/sbin/in.telnetd\fR [\fB-a\fR \fIauthmode\fR] [\fB-EXUh\fR] [\fB-s\fR \fItos\fR]
  13      [\fB-S\fR \fIkeytab\fR] [\fB-M\fR \fIrealm\fR]
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 \fBin.telnetd\fR is a server that supports the \fBDARPA\fR standard
  18 \fBTELNET\fR virtual terminal protocol. \fBin.telnetd\fR is normally invoked in
  19 the internet server (see \fBinetd\fR(1M)), for requests to connect to the
  20 \fBTELNET\fR port as indicated by the \fB/etc/services\fR file (see
  21 \fBservices\fR(4)).
  22 .sp
  23 .LP
  24 \fBin.telnetd\fR operates by allocating a pseudo-terminal device for a client,
  25 then creating a login process which has the subsidiary side of the
  26 pseudo-terminal as its standard input, output, and error. \fBin.telnetd\fR
  27 manipulates the manager side of the pseudo-terminal, implementing the
  28 \fBTELNET\fR protocol and passing characters between the remote client and the
  29 login process.
  30 .sp
  31 .LP
  32 When a \fBTELNET\fR session starts up, \fBin.telnetd\fR sends \fBTELNET\fR
  33 options to the client side indicating a willingness to do \fIremote\fR
  34 \fBecho\fR of characters, and to \fIsuppress\fR \fIgo\fR \fIahead\fR. The
  35 pseudo-terminal allocated to the client is configured to operate in "cooked"
  36 mode, and with \fBXTABS\fR, \fBICRNL\fR and \fBONLCR\fR enabled. See
  37 \fBtermio\fR(7I).
  38 .sp
  39 .LP
  40 \fBin.telnetd\fR is willing to do: \fIecho\fR, \fIbinary\fR, \fIsuppress\fR
  41 \fIgo\fR \fIahead\fR, and \fItiming\fR \fImark\fR. \fBin.telnetd\fR is willing
  42 to have the remote client do: \fIbinary\fR, \fIterminal\fR \fItype\fR,
  43 \fIterminal\fR \fIsize\fR, \fIlogout\fR \fIoption\fR, and \fIsuppress\fR
  44 \fIgo\fR \fIahead\fR.
  45 .sp
  46 .LP
  47 \fBin.telnetd\fR also allows environment variables to be passed, provided that
  48 the client negotiates this during the initial option negotiation. The
  49 \fBDISPLAY\fR environment variable may be sent this way, either by the