more, mostly whitespace, fixes from Thomas Klasusner

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-20 17:07:29 +00:00
parent 747a00df69
commit 879fc6b8bc
46 changed files with 402 additions and 401 deletions

View File

@@ -36,7 +36,7 @@
.Os BSD 4.2
.Sh NAME
.Nm telnet
.Nd user interface to the
.Nd user interface to the
.Tn TELNET
protocol
.Sh SYNOPSIS
@@ -56,7 +56,7 @@ protocol
The
.Nm telnet
command
is used to communicate with another host using the
is used to communicate with another host using the
.Tn TELNET
protocol.
If
@@ -102,7 +102,7 @@ connection to the value
which can be a numeric TOS value
or, on systems that support it, a symbolic
TOS name found in the /etc/iptos file.
.It Fl X Ar atype
.It Fl X Ar atype
Disables the
.Ar atype
type of authentication.
@@ -129,7 +129,7 @@ Sets the initial value of the
.Ic debug
toggle to
.Dv TRUE
.It Fl e Ar escape char
.It Fl e Ar escape char
Sets the initial
.Nm
.Nm telnet
@@ -150,7 +150,7 @@ option requests that telnet obtain tickets for the remote host in
realm realm instead of the remote host's realm, as determined
by
.Xr krb_realmofhost 3 .
.It Fl l Ar user
.It Fl l Ar user
When connecting to the remote system, if the remote system
understands the
.Ev ENVIRON
@@ -163,7 +163,7 @@ option.
This option may also be used with the
.Ic open
command.
.It Fl n Ar tracefile
.It Fl n Ar tracefile
Opens
.Ar tracefile
for recording trace information.
@@ -208,7 +208,7 @@ either \*(Lqcharacter at a time\*(Rq
or \*(Lqold line by line\*(Rq
depending on what the remote system supports.
.Pp
When
When
.Dv LINEMODE
is enabled, character processing is done on the
local system, under the control of the remote system. When input
@@ -227,7 +227,7 @@ to turn off and on the local echo
(this would mostly be used to enter passwords
without the password being echoed).
.Pp
If the
If the
.Dv LINEMODE
option is enabled, or if the
.Ic localchars
@@ -242,7 +242,7 @@ and
characters are trapped locally, and sent as
.Tn TELNET
protocol sequences to the remote side.
If
If
.Dv LINEMODE
has ever been enabled, then the user's
.Ic susp
@@ -253,9 +253,9 @@ are also sent as
protocol sequences,
and
.Ic quit
is sent as a
is sent as a
.Dv TELNET ABORT
instead of
instead of
.Dv BREAK
There are options (see
.Ic toggle
@@ -296,7 +296,7 @@ and
commands).
.Pp
.Bl -tag -width "mode type"
.It Ic auth Ar argument ...
.It Ic auth Ar argument ...
The auth command manipulates the information sent through the
.Dv TELNET AUTHENTICATE
option. Valid arguments for the
@@ -320,7 +320,7 @@ authentication.
Close a
.Tn TELNET
session and return to command mode.
.It Ic display Ar argument ...
.It Ic display Ar argument ...
Displays all, or some, of the
.Ic set
and
@@ -417,7 +417,7 @@ Valid arguments for the
.Ic environ
command are:
.Bl -tag -width Fl
.It Ic define Ar variable value
.It Ic define Ar variable value
Define the variable
.Ar variable
to have a value of
@@ -427,15 +427,15 @@ The
.Ar value
may be enclosed in single or double quotes so
that tabs and spaces may be included.
.It Ic undefine Ar variable
.It Ic undefine Ar variable
Remove
.Ar variable
from the list of environment variables.
.It Ic export Ar variable
.It Ic export Ar variable
Mark the variable
.Ar variable
to be exported to the remote side.
.It Ic unexport Ar variable
.It Ic unexport Ar variable
Mark the variable
.Ar variable
to not be exported unless
@@ -469,7 +469,7 @@ If the remote side also supports the concept of
suspending a user's session for later reattachment,
the logout argument indicates that you
should terminate the session immediately.
.It Ic mode Ar type
.It Ic mode Ar type
.Ar Type
is one of several options, depending on the state of the
.Tn TELNET
@@ -490,40 +490,40 @@ Enable the
option, or, if the remote side does not understand the
.Dv LINEMODE
option, then attempt to enter \*(Lqold-line-by-line\*(Lq mode.
.It Ic isig Pq Ic \-isig
Attempt to enable (disable) the
.It Ic isig Pq Ic \-isig
Attempt to enable (disable) the
.Dv TRAPSIG
mode of the
mode of the
.Dv LINEMODE
option.
This requires that the
This requires that the
.Dv LINEMODE
option be enabled.
.It Ic edit Pq Ic \-edit
Attempt to enable (disable) the
.It Ic edit Pq Ic \-edit
Attempt to enable (disable) the
.Dv EDIT
mode of the
mode of the
.Dv LINEMODE
option.
This requires that the
This requires that the
.Dv LINEMODE
option be enabled.
.It Ic softtabs Pq Ic \-softtabs
Attempt to enable (disable) the
.It Ic softtabs Pq Ic \-softtabs
Attempt to enable (disable) the
.Dv SOFT_TAB
mode of the
mode of the
.Dv LINEMODE
option.
This requires that the
This requires that the
.Dv LINEMODE
option be enabled.
.It Ic litecho Pq Ic \-litecho
Attempt to enable (disable) the
.It Ic litecho Pq Ic \-litecho
Attempt to enable (disable) the
.Dv LIT_ECHO
mode of the
mode of the
.Dv LINEMODE
option.
This requires that the
This requires that the
.Dv LINEMODE
option be enabled.
.It Ic ?\&
@@ -579,7 +579,7 @@ Close any open
session and exit
.Nm telnet .
An end of file (in command mode) will also close a session and exit.
.It Ic send Ar arguments
.It Ic send Ar arguments
Sends one or more special character sequences to the remote host.
The following are the arguments which may be specified
(more than one argument may be specified at a time):
@@ -701,8 +701,8 @@ Prints out help information for the
.Ic send
command.
.El
.It Ic set Ar argument value
.It Ic unset Ar argument value
.It Ic set Ar argument value
.It Ic unset Ar argument value
The
.Ic set
command will set any one of a number of
@@ -1002,16 +1002,16 @@ Displays the legal
.Pq Ic unset
commands.
.El
.It Ic slc Ar state
.It Ic slc Ar state
The
.Ic slc
command (Set Local Characters) is used to set
or change the state of the the special
characters when the
characters when the
.Dv TELNET LINEMODE
option has
been enabled. Special characters are characters that get
mapped to
mapped to
.Tn TELNET
commands sequences (like
.Ic ip
@@ -1037,7 +1037,7 @@ was started.
.It Ic import
Switch to the remote defaults for the special characters.
The remote default characters are those of the remote system
at the time when the
at the time when the
.Tn TELNET
connection was established.
.It Ic ?\&
@@ -1050,7 +1050,7 @@ Show the current status of
.Nm telnet .
This includes the peer one is connected to, as well
as the current mode.
.It Ic toggle Ar arguments ...
.It Ic toggle Ar arguments ...
Toggle (between
.Dv TRUE
and
@@ -1319,13 +1319,13 @@ Suspend
.Nm telnet .
This command only works when the user is using the
.Xr csh 1 .
.It Ic \&! Op Ar command
.It Ic \&! Op Ar command
Execute a single command in a subshell on the local
system. If
.Ic command
is omitted, then an interactive
subshell is invoked.
.It Ic ?\& Op Ar command
.It Ic ?\& Op Ar command
Get help. With no arguments,
.Nm telnet
prints a help summary.
@@ -1361,7 +1361,7 @@ command appeared in
On some remote systems, echo has to be turned off manually when in
\*(Lqold line by line\*(Rq mode.
.Pp
In \*(Lqold line by line\*(Rq mode or
In \*(Lqold line by line\*(Rq mode or
.Dv LINEMODE
the terminal's
.Ic eof

View File

@@ -75,7 +75,7 @@ option may be used to start up
.Nm telnetd
manually, instead of through
.Xr inetd 8 .
If started up this way,
If started up this way,
.Ar port
may be specified to run
.Nm telnetd
@@ -153,7 +153,7 @@ to print out debugging information
to the connection, allowing the user to see what
.Nm telnetd
is doing.
There are several possible values for
There are several possible values for
.Ar debugmode :
.Bl -tag -width exercise
.It Cm options
@@ -161,7 +161,7 @@ Prints information about the negotiation of
.Tn TELNET
options.
.It Cm report
Prints the
Prints the
.Cm options
information, plus some additional information
about what processing is going on.
@@ -261,7 +261,7 @@ not warn when a user is trying to login with a cleartext password.
operates by allocating a pseudo-terminal device (see
.Xr pty 4 )
for a client, then creating a login process which has
the slave side of the pseudo-terminal as
the slave side of the pseudo-terminal as
.Dv stdin ,
.Dv stdout
and
@@ -275,7 +275,7 @@ between the remote client and the login process.
.Pp
When a
.Tn TELNET
session is started up,
session is started up,
.Nm telnetd
sends
.Tn TELNET