.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
.\" %sccs.include.redist.man%
.\" @(#)telnetd.8 8.1 (Berkeley) %G%
telnetd \- DARPA TELNET protocol server
[\fB\-debug\fP [\fIport\fP]]
is a server which supports the DARPA standard
virtual terminal protocol.
is invoked by the internet server (see
normally for requests to connect to the
If the \fB\-debug\fP may be used, to start up \fBtelnetd\fP
manually, instead of through
If started up this way, \fIport\fP may be specified to
run \fItelnetd\fP on an alternate TCP port number.
The \fB\-D\fP option may be used for debugging purposes.
This allows \fItelnet\fR to print out debugging information
to the connection, allowing the user to see what telnetd
There are several modifiers:
\fBoptions\fR prints information about the negotiation
\fBreport\fR prints the \fBoptions\fR information, plus
some additional information about what processing is going on,
\fBnetdata\fP displays the data stream received by \fItelnetd\fP,
\fBptydata\fP displays data written to the pty, and
\fBexercise\fR has not been implemented yet.
operates by allocating a pseudo-terminal device (see
for a client, then creating a login process which has
the slave side of the pseudo-terminal as
manipulates the master side of the pseudo-terminal,
protocol and passing characters
between the remote client and the login process.
options to the client side indicating
.I window size information
If the remote client is willing, the remote terminal type is
propagated in the environment of the created login process.
The pseudo-terminal allocated to the client is configured
to operate in \*(lqcooked\*(rq mode, and with XTABS and CRMOD
is willing to have the remote client
commands are only partially implemented.
Because of bugs in the original 4.2 BSD
performs some dubious protocol exchanges to try to discover if the remote
client is, in fact, a 4.2 BSD
has no common interpretation except between similar operating systems
The terminal type name received from the remote client is converted to