git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9826 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-05-01 18:53:24 +00:00
parent a9ceae0848
commit 5c4704bbe8
2 changed files with 39 additions and 37 deletions

View File

@@ -98,7 +98,7 @@ BINARY option to be negotiated on output.
.It Fl S Ar tos .It Fl S Ar tos
Sets the IP type-of-service (TOS) option for the telnet Sets the IP type-of-service (TOS) option for the telnet
connection to the value connection to the value
.Ar tos, .Ar tos ,
which can be a numeric TOS value which can be a numeric TOS value
or, on systems that support it, a symbolic or, on systems that support it, a symbolic
TOS name found in the /etc/iptos file. TOS name found in the /etc/iptos file.
@@ -134,7 +134,7 @@ Sets the initial
.Nm .Nm
.Nm telnet .Nm telnet
escape character to escape character to
.Ar escape char. .Ar escape char .
If If
.Ar escape char .Ar escape char
is omitted, then is omitted, then
@@ -304,12 +304,12 @@ auth command are as follows:
.It Ic disable Ar type .It Ic disable Ar type
Disables the specified type of authentication. To Disables the specified type of authentication. To
obtain a list of available types, use the obtain a list of available types, use the
.Ic auth disable \&? .Ic auth disable ?\&
command. command.
.It Ic enable Ar type .It Ic enable Ar type
Enables the specified type of authentication. To Enables the specified type of authentication. To
obtain a list of available types, use the obtain a list of available types, use the
.Ic auth enable \&? .Ic auth enable ?\&
command. command.
.It Ic status .It Ic status
Lists the current status of the various types of Lists the current status of the various types of
@@ -336,18 +336,22 @@ option is not supported outside of the United States and Canada.
.Pp .Pp
Valid arguments for the encrypt command are as follows: Valid arguments for the encrypt command are as follows:
.Bl -tag -width Ar .Bl -tag -width Ar
.It Ic disable Ar type Ic [input|output] .It Ic disable Ar type Xo
.Op Cm input | output
.Xc
Disables the specified type of encryption. If you Disables the specified type of encryption. If you
omit the input and output, both input and output omit the input and output, both input and output
are disabled. To obtain a list of available are disabled. To obtain a list of available
types, use the types, use the
.Ic encrypt disable \&? .Ic encrypt disable ?\&
command. command.
.It Ic enable Ar type Ic [input|output] .It Ic enable Ar type Xo
.Op Cm input | output
.Xc
Enables the specified type of encryption. If you Enables the specified type of encryption. If you
omit input and output, both input and output are omit input and output, both input and output are
enabled. To obtain a list of available types, use the enabled. To obtain a list of available types, use the
.Ic encrypt enable \&? .Ic encrypt enable ?\&
command. command.
.It Ic input .It Ic input
This is the same as the This is the same as the
@@ -365,18 +369,18 @@ command.
This is the same as the This is the same as the
.Ic encrypt stop output .Ic encrypt stop output
command. command.
.It Ic start Ic [input|output] .It Ic start Op Cm input | output
Attempts to start encryption. If you omit Attempts to start encryption. If you omit
.Ic input .Ic input
and and
.Ic output, .Ic output ,
both input and output are enabled. To both input and output are enabled. To
obtain a list of available types, use the obtain a list of available types, use the
.Ic encrypt enable \&? .Ic encrypt enable ?\&
command. command.
.It Ic status .It Ic status
Lists the current status of encryption. Lists the current status of encryption.
.It Ic stop Ic [input|output] .It Ic stop Op Cm input | output
Stops encryption. If you omit input and output, Stops encryption. If you omit input and output,
encryption is on both input and output. encryption is on both input and output.
.It Ic type Ar type .It Ic type Ar type
@@ -387,7 +391,7 @@ or
.Ic encrypt stop .Ic encrypt stop
commands. commands.
.El .El
.It Ic environ Ar arguments... .It Ic environ Ar arguments ...
The The
.Ic environ .Ic environ
command is used to manipulate the command is used to manipulate the
@@ -416,7 +420,7 @@ command are:
Define the variable Define the variable
.Ar variable .Ar variable
to have a value of to have a value of
.Ar value. .Ar value .
Any variables defined by this command are automatically exported. Any variables defined by this command are automatically exported.
The The
.Ar value .Ar value
@@ -441,7 +445,7 @@ Those marked with a
.Cm * .Cm *
will be sent automatically, will be sent automatically,
other variables will only be sent if explicitly requested. other variables will only be sent if explicitly requested.
.It Ic \&? .It Ic ?\&
Prints out help information for the Prints out help information for the
.Ic environ .Ic environ
command. command.
@@ -522,17 +526,15 @@ option.
This requires that the This requires that the
.Dv LINEMODE .Dv LINEMODE
option be enabled. option be enabled.
.It Ic \&? .It Ic ?\&
Prints out help information for the Prints out help information for the
.Ic mode .Ic mode
command. command.
.El .El
.It Xo .It Xo
.Ic open Ar host .Ic open Ar host
.Oo Op Fl l .Op Fl l Ar user
.Ar user .Op Oo Fl Oc Ns Ar port
.Oc Ns Oo Fl
.Ar port Oc
.Xc .Xc
Open a connection to the named host. Open a connection to the named host.
If no port number If no port number
@@ -692,10 +694,10 @@ command.
can also be either can also be either
.Ic help .Ic help
or or
.Ic \&? .Ic ?\&
to print out help information, including to print out help information, including
a list of known symbolic names. a list of known symbolic names.
.It Ic \&? .It Ic ?\&
Prints out help information for the Prints out help information for the
.Ic send .Ic send
command. command.
@@ -996,7 +998,7 @@ The initial value for the worderase character is taken to be
the terminal's the terminal's
.Ic worderase .Ic worderase
character. character.
.It Ic \&? .It Ic ?\&
Displays the legal Displays the legal
.Ic set .Ic set
.Pq Ic unset .Pq Ic unset
@@ -1040,7 +1042,7 @@ The remote default characters are those of the remote system
at the time when the at the time when the
.Tn TELNET .Tn TELNET
connection was established. connection was established.
.It Ic \&? .It Ic ?\&
Prints out help information for the Prints out help information for the
.Ic slc .Ic slc
command. command.
@@ -1295,7 +1297,7 @@ skips the reading of the
file in the users home file in the users home
directory when connections are opened. The initial directory when connections are opened. The initial
value for this toggle is value for this toggle is
.Dv FALSE. .Dv FALSE .
.It Ic termdata .It Ic termdata
Toggles the display of all terminal data (in hexadecimal format). Toggles the display of all terminal data (in hexadecimal format).
The initial value for this toggle is The initial value for this toggle is
@@ -1308,7 +1310,7 @@ toggle is
.Tn TELNET .Tn TELNET
prints out a message each time encryption is enabled or prints out a message each time encryption is enabled or
disabled. The initial value for this toggle is disabled. The initial value for this toggle is
.Dv FALSE. .Dv FALSE .
Note: Because of export controls, data encryption Note: Because of export controls, data encryption
is not supported outside of the United States and Canada. is not supported outside of the United States and Canada.
.It Ic \&? .It Ic \&?
@@ -1327,7 +1329,7 @@ system. If
.Ic command .Ic command
is omitted, then an interactive is omitted, then an interactive
subshell is invoked. subshell is invoked.
.It Ic \&? Op Ar command .It Ic ?\& Op Ar command
Get help. With no arguments, Get help. With no arguments,
.Nm telnet .Nm telnet
prints a help summary. prints a help summary.

View File

@@ -95,7 +95,7 @@ has been compiled with support for the
.Dv AUTHENTICATION .Dv AUTHENTICATION
option. option.
There are several valid values for There are several valid values for
.Ar authmode: .Ar authmode :
.Bl -tag -width debug .Bl -tag -width debug
.It debug .It debug
Turns on authentication debugging code. Turns on authentication debugging code.
@@ -153,7 +153,7 @@ to the connection, allowing the user to see what
.Nm telnetd .Nm telnetd
is doing. is doing.
There are several possible values for There are several possible values for
.Ar debugmode: .Ar debugmode :
.Bl -tag -width exercise .Bl -tag -width exercise
.It Cm options .It Cm options
Prints information about the negotiation of Prints information about the negotiation of
@@ -166,7 +166,7 @@ information, plus some additional information
about what processing is going on. about what processing is going on.
.It Cm netdata .It Cm netdata
Displays the data stream received by Displays the data stream received by
.Nm telnetd. .Nm telnetd .
.It Cm ptydata .It Cm ptydata
Displays data written to the pty. Displays data written to the pty.
.It Cm exercise .It Cm exercise
@@ -194,12 +194,12 @@ be reached may be cleaned up.
This option is only enabled when This option is only enabled when
.Nm telnetd .Nm telnetd
is compiled for is compiled for
.Dv UNICOS. .Dv UNICOS .
It specifies an inclusive range of pseudo-terminal devices to It specifies an inclusive range of pseudo-terminal devices to
use. If the system has sysconf variable use. If the system has sysconf variable
.Dv _SC_CRAY_NPTY .Dv _SC_CRAY_NPTY
configured, the default pty search range is 0 to configured, the default pty search range is 0 to
.Dv _SC_CRAY_NPTY; .Dv _SC_CRAY_NPTY ;
otherwise, the default range is 0 to 128. Either otherwise, the default range is 0 to 128. Either
.Ar lowpty .Ar lowpty
or or
@@ -338,7 +338,7 @@ Indicates that the client is willing to send a
of the Network Virtual Terminal. of the Network Virtual Terminal.
.It "WILL SGA" .It "WILL SGA"
Indicates that it will not be sending Indicates that it will not be sending
.Dv IAC GA, .Dv IAC GA ,
go ahead, commands. go ahead, commands.
.It "WILL STATUS" .It "WILL STATUS"
Indicates a willingness to send the client, upon Indicates a willingness to send the client, upon
@@ -384,7 +384,7 @@ characters remotely.
This is not really supported, but is sent to identify a 4.2BSD This is not really supported, but is sent to identify a 4.2BSD
.Xr telnet 1 .Xr telnet 1
client, which will improperly respond with client, which will improperly respond with
.Dv WILL ECHO. .Dv WILL ECHO .
If a If a
.Dv WILL ECHO .Dv WILL ECHO
is received, a is received, a
@@ -396,7 +396,7 @@ name of the type of terminal that is attached
to the client side of the connection. to the client side of the connection.
.It "DO SGA" .It "DO SGA"
Indicates that it does not need to receive Indicates that it does not need to receive
.Dv IAC GA, .Dv IAC GA ,
the go ahead command. the go ahead command.
.It "DO NAWS" .It "DO NAWS"
Requests that the client inform the server when Requests that the client inform the server when
@@ -425,9 +425,9 @@ Only sent if
.Nm telnetd .Nm telnetd
is compiled with support for both linemode and is compiled with support for both linemode and
kludge linemode, and the client responded with kludge linemode, and the client responded with
.Dv WONT LINEMODE. .Dv WONT LINEMODE .
If the client responds with If the client responds with
.Dv WILL TM, .Dv WILL TM ,
the it is assumed that the client supports the it is assumed that the client supports
kludge linemode. kludge linemode.
Note that the Note that the