[BACK]Return to telnet.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/telnet.1 between version 1.11 and 1.12

version 1.11, 1998/09/05 17:41:47 version 1.12, 1998/10/30 00:24:38
Line 108 
Line 108 
 .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
   .Pa /etc/iptos
   file.
 .It Fl X Ar atype  .It Fl X Ar atype
 Disables the  Disables the
 .Ar atype  .Ar atype
Line 131 
Line 133 
 .It Fl b Ar hostalias  .It Fl b Ar hostalias
 Uses  Uses
 .Xr bind 2  .Xr bind 2
 on the local socket to bind it to an aliased address (See  on the local socket to bind it to an aliased address (see
 .Xr ifconfig 8  .Xr ifconfig 8
 and the \*(Lqalias\*(Rq specifier) or to the address of  and the ``alias'' specifier) or to the address of
 another interface than the one naturally chosen by  another interface than the one naturally chosen by
 .Xr connect 2 .  .Xr connect 2 .
 This can be useful when connecting to services which uses IP addresses  This can be useful when connecting to services which use IP addresses
 for authentication and reconfiguration of the server is undesirable (or  for authentication and reconfiguration of the server is undesirable (or
 impossible).  impossible).
 .It Fl c  .It Fl c
Line 149 
Line 151 
 Sets the initial value of the  Sets the initial value of the
 .Ic debug  .Ic debug
 toggle to  toggle to
 .Dv TRUE  .Dv TRUE .
 .It Fl e Ar escapechar  .It Fl e Ar escapechar
 Sets the initial  Sets the initial
 .Nm  .Nm
Line 166 
Line 168 
 .It Fl k Ar realm  .It Fl k Ar realm
 If Kerberos authentication is being used, the  If Kerberos authentication is being used, the
 .Fl k  .Fl k
 option requests that telnet obtain tickets for the remote host in  option requests that
   .Nm telnet
   obtain tickets for the remote host in
 realm  realm
 .Ar realm  .Ar realm
 instead of the remote host's realm, as determined  instead of the remote host's realm, as determined
Line 222 
Line 226 
 will attempt to enable the  will attempt to enable the
 .Dv TELNET LINEMODE  .Dv TELNET LINEMODE
 option.  option.
 If this fails, then  If this fails,
 .Nm telnet  .Nm telnet
 will revert to one of two input modes:  will revert to one of two input modes:
 either \*(Lqcharacter at a time\*(Rq  either ``character at a time''
 or \*(Lqold line by line\*(Rq  or ``old line by line''
 depending on what the remote system supports.  depending on what the remote system supports.
 .Pp  .Pp
 When  When
Line 238 
Line 242 
 changes to any special characters that happen on the remote  changes to any special characters that happen on the remote
 system, so that they can take effect on the local system.  system, so that they can take effect on the local system.
 .Pp  .Pp
 In \*(Lqcharacter at a time\*(Rq mode, most  In ``character at a time'' mode, most
 text typed is immediately sent to the remote host for processing.  text typed is immediately sent to the remote host for processing.
 .Pp  .Pp
 In \*(Lqold line by line\*(Rq mode, all text is echoed locally,  In ``old line by line'' mode, all text is echoed locally,
 and (normally) only completed lines are sent to the remote host.  and (normally) only completed lines are sent to the remote host.
 The \*(Lqlocal echo character\*(Rq (initially \*(Lq^E\*(Rq) may be used  The ``local echo character'' (initially ``^E'') may be used
 to turn off and on the local echo  to turn off and on the local echo
 (this would mostly be used to enter passwords  (this would mostly be used to enter passwords
 without the password being echoed).  without the password being echoed).
Line 254 
Line 258 
 .Ic localchars  .Ic localchars
 toggle is  toggle is
 .Dv TRUE  .Dv TRUE
 (the default for \*(Lqold line by line\*(Lq; see below),  (the default for ``old line by line''; see below),
 the user's  the user's
 .Ic quit  ,  .Ic quit ,
 .Ic intr ,  .Ic intr ,
 and  and
 .Ic flush  .Ic flush
Line 298 
Line 302 
 .Nm telnet  .Nm telnet
 command mode may be entered by typing the  command mode may be entered by typing the
 .Nm telnet  .Nm telnet
 \*(Lqescape character\*(Rq (initially \*(Lq^]\*(Rq).  ``escape character'' (initially ``^]'').
 When in command mode, the normal terminal editing conventions are available.  When in command mode, the normal terminal editing conventions are available.
 .Pp  .Pp
 The following  The following
Line 306 
Line 310 
 commands are available.  commands are available.
 Only enough of each command to uniquely identify it need be typed  Only enough of each command to uniquely identify it need be typed
 (this is also true for arguments to the  (this is also true for arguments to the
 .Ic mode  ,  .Ic mode ,
 .Ic set ,  .Ic set ,
 .Ic toggle  ,  .Ic toggle ,
 .Ic unset ,  .Ic unset ,
 .Ic slc  ,  .Ic slc ,
 .Ic environ ,  .Ic environ ,
 and  and
 .Ic display  .Ic display
 commands).  commands).
 .Pp  .Pp
 .Bl -tag -width "mode type"  .Bl -tag -width "mode type"
 .It Ic auth Ar argument ...  .It Ic auth Ar argument Op Ar ...
 The auth command manipulates the information sent through the  The
   .Ic auth
   command manipulates the information sent through the
 .Dv TELNET AUTHENTICATE  .Dv TELNET AUTHENTICATE
 option.  Valid arguments for the  option.  Valid arguments for the
 auth command are as follows:  auth command are as follows:
 .Bl -tag -width "disable type"  .Bl -tag -width "disable type"
 .It Ic disable Ar type  .It Ic disable Ar type
 Disables the specified type of authentication.  To  Disables the specified
   .Ar 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
   .Ar 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.
Line 341 
Line 351 
 Close a  Close a
 .Tn TELNET  .Tn TELNET
 session and return to command mode.  session and return to command mode.
 .It Ic display Ar argument ...  .It Ic display Ar argument Op Ar ...
 Displays all, or some, of the  Displays all, or some, of the
 .Ic set  .Ic set
 and  and
 .Ic toggle  .Ic toggle
 values (see below).  values (see below).
 .It Ic encrypt Ar argument ...  .It Ic encrypt Ar argument Op Ar ...
 The encrypt command manipulates the information sent through the  The
   .Ic encrypt
   command manipulates the information sent through the
 .Dv TELNET ENCRYPT  .Dv TELNET ENCRYPT
 option.  option.
 ..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 Ic [input|output]
 Disables the specified type of encryption.  If you  Disables the specified
 omit the input and output, both input and output  .Ar type
   of encryption.  If you
   omit
   .Ic input
   and
   .Ic 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 Ic [input|output]
 Enables the specified type of encryption.  If you  Enables the specified
 omit input and output, both input and output are  .Ar type
   of encryption.  If you
   omit
   .Ic input
   and
   .Ic 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.
Line 395 
Line 419 
 .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 Ic [input|output]
 Stops encryption.  If you omit input and output,  Stops encryption.  If you omit
   .Ic input
   and
   .Ic 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
 Sets the default type of encryption to be used  Sets the default type of encryption to be used
Line 405 
Line 432 
 .Ic encrypt stop  .Ic encrypt stop
 commands.  commands.
 .El  .El
 .It Ic environ Ar arguments...  .It Ic environ Ar arguments Op Ar ...
 The  The
 .Ic environ  .Ic environ
 command is used to manipulate the  command is used to manipulate the
Line 434 
Line 461 
 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
Line 483 
Line 510 
 the logout argument indicates that you  the logout argument indicates that you
 should terminate the session immediately.  should terminate the session immediately.
 .It Ic mode Ar type  .It Ic mode Ar type
 .Ar Type  .Ar type
 is one of several options, depending on the state of the  is one of several options, depending on the state of the
 .Tn TELNET  .Tn TELNET
 session.  session.
Line 496 
Line 523 
 .Dv TELNET LINEMODE  .Dv TELNET LINEMODE
 option, or, if the remote side does not understand the  option, or, if the remote side does not understand the
 .Dv LINEMODE  .Dv LINEMODE
 option, then enter \*(Lqcharacter at a time\*(Lq mode.  option, then enter ``character at a time'' mode.
 .It Ic line  .It Ic line
 Enable the  Enable the
 .Dv TELNET LINEMODE  .Dv TELNET LINEMODE
 option, or, if the remote side does not understand the  option, or, if the remote side does not understand the
 .Dv LINEMODE  .Dv LINEMODE
 option, then attempt to enter \*(Lqold-line-by-line\*(Lq mode.  option, then attempt to enter ``old-line-by-line'' mode.
 .It Ic isig Pq Ic \-isig  .It Ic isig Pq Ic \-isig
 Attempt to enable (disable) the  Attempt to enable (disable) the
 .Dv TRAPSIG  .Dv TRAPSIG
Line 559 
Line 586 
 server at the default port.  server at the default port.
 The host specification may be either a host name (see  The host specification may be either a host name (see
 .Xr hosts 5 )  .Xr hosts 5 )
 or an Internet address specified in the \*(Lqdot notation\*(Rq (see  or an Internet address specified in the ``dot notation'' (see
 .Xr inet 3 ) .  .Xr inet 3 ) .
 The  The
 .Fl l  .Fl l
Line 576 
Line 603 
 After establishing a connection, the file  After establishing a connection, the file
 .Pa \&.telnetrc  .Pa \&.telnetrc
 in the  in the
 user's home directory is opened.  Lines beginning with a # are  user's home directory is opened.  Lines beginning with a ``#'' are
 comment lines.  Blank lines are ignored.  Lines that begin  comment lines.  Blank lines are ignored.  Lines that begin
 without white space are the start of a machine entry.  The  without white space are the start of a machine entry.  The
 first thing on the line is the name of the machine that is  first thing on the line is the name of the machine that is
Line 591 
Line 618 
 Close any open  Close any open
 .Tn TELNET  .Tn TELNET
 session and exit  session and exit
 .Nm telnet  .  .Nm telnet .
 An end of file (in command mode) will also close a session and exit.  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.  Sends one or more special character sequences to the remote host.
 The following are the arguments which may be specified  The following are the arguments which may be specified
Line 649 
Line 676 
 .It Ic escape  .It Ic escape
 Sends the current  Sends the current
 .Nm telnet  .Nm telnet
 escape character (initially \*(Lq^\*(Rq).  escape character (initially ``^]'').
 .It Ic ga  .It Ic ga
 Sends the  Sends the
 .Dv TELNET GA  .Dv TELNET GA
Line 689 
Line 716 
 data (and may not work if the remote system is a  data (and may not work if the remote system is a
 .Bx 4.2  .Bx 4.2
 system -- if  system -- if
 it doesn't work, a lower case \*(Lqr\*(Rq may be echoed on the terminal).  it doesn't work, a lower case ``r'' may be echoed on the terminal).
 .It Ic do Ar cmd  .It Ic do Ar cmd
   Sends the
   .Dv TELNET DO
   .Ar cmd
   sequence.
   .Ar cmd
   can be either a decimal number between 0 and 255,
   or a symbolic name for a specific
   .Dv TELNET
   command.
   .Ar cmd
   can also be either
   .Ic help
   or
   .Ic \&?
   to print out help information, including
   a list of known symbolic names.
 .It Ic dont Ar cmd  .It Ic dont Ar cmd
   Sends the
   .Dv TELNET DONT
   .Ar cmd
   sequence.
   .Ar cmd
   can be either a decimal number between 0 and 255,
   or a symbolic name for a specific
   .Dv TELNET
   command.
   .Ar cmd
   can also be either
   .Ic help
   or
   .Ic \&?
   to print out help information, including
   a list of known symbolic names.
 .It Ic will Ar cmd  .It Ic will Ar cmd
   Sends the
   .Dv TELNET WILL
   .Ar cmd
   sequence.
   .Ar cmd
   can be either a decimal number between 0 and 255,
   or a symbolic name for a specific
   .Dv TELNET
   command.
   .Ar cmd
   can also be either
   .Ic help
   or
   .Ic \&?
   to print out help information, including
   a list of known symbolic names.
 .It Ic wont Ar cmd  .It Ic wont Ar cmd
 Sends the  Sends the
 .Dv TELNET DO  .Dv TELNET WONT
 .Ar cmd  .Ar cmd
 sequence.  sequence.
 .Ar Cmd  .Ar cmd
 can be either a decimal number between 0 and 255,  can be either a decimal number between 0 and 255,
 or a symbolic name for a specific  or a symbolic name for a specific
 .Dv TELNET  .Dv TELNET
 command.  command.
 .Ar Cmd  .Ar cmd
 can also be either  can also be either
 .Ic help  .Ic help
 or  or
Line 726 
Line 801 
 The special value  The special value
 .Ic off  .Ic off
 turns off the function associated with  turns off the function associated with
 the variable, this is equivalent to using the  the variable; this is equivalent to using the
 .Ic unset  .Ic unset
 command.  command.
 The  The
Line 750 
Line 825 
 .It Ic ayt  .It Ic ayt
 If  If
 .Tn TELNET  .Tn TELNET
 is in localchars mode, or  is in
   .Ic localchars
   mode, or
 .Dv LINEMODE  .Dv LINEMODE
 is enabled, and the status character is typed, a  is enabled, and the status character is typed, a
 .Dv TELNET AYT  .Dv TELNET AYT
Line 760 
Line 837 
 remote host.  The initial value for the "Are You There"  remote host.  The initial value for the "Are You There"
 character is the terminal's status character.  character is the terminal's status character.
 .It Ic echo  .It Ic echo
 This is the value (initially \*(Lq^E\*(Rq) which, when in  This is the value (initially ``^E'') which, when in
 \*(Lqline by line\*(Rq mode, toggles between doing local echoing  ``line by line'' mode, toggles between doing local echoing
 of entered characters (for normal processing), and suppressing  of entered characters (for normal processing), and suppressing
 echoing of entered characters (for entering, say, a password).  echoing of entered characters (for entering, say, a password).
 .It Ic eof  .It Ic eof
Line 769 
Line 846 
 .Nm telnet  .Nm telnet
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or \*(Lqold line by line\*(Rq mode, entering this character  or ``old line by line'' mode, entering this character
 as the first character on a line will cause this character to be  as the first character on a line will cause this character to be
 sent to the remote system.  sent to the remote system.
 The initial value of the eof character is taken to be the terminal's  The initial value of the
 .Ic eof  .Ic eof
   character is taken to be the terminal's
   .Ic eof
 character.  character.
 .It Ic erase  .It Ic erase
 If  If
Line 784 
Line 863 
 .Ic toggle  .Ic toggle
 .Ic localchars  .Ic localchars
 below),  below),
 .Sy and  and if
 if  
 .Nm telnet  .Nm telnet
 is operating in \*(Lqcharacter at a time\*(Rq mode, then when this  is operating in ``character at a time'' mode, then when this
 character is typed, a  character is typed, a
 .Dv TELNET EC  .Dv TELNET EC
 sequence (see  sequence (see
Line 795 
Line 873 
 .Ic ec  .Ic ec
 above)  above)
 is sent to the remote system.  is sent to the remote system.
 The initial value for the erase character is taken to be  The initial value for the
   .Ic erase
   character is taken to be
 the terminal's  the terminal's
 .Ic erase  .Ic erase
 character.  character.
 .It Ic escape  .It Ic escape
 This is the  This is the
 .Nm telnet  .Nm telnet
 escape character (initially \*(Lq^[\*(Rq) which causes entry  escape character (initially ``^['') which causes entry
 into  into
 .Nm telnet  .Nm telnet
 command mode (when connected to a remote system).  command mode (when connected to a remote system).
Line 824 
Line 904 
 .Ic ao  .Ic ao
 above)  above)
 is sent to the remote host.  is sent to the remote host.
 The initial value for the flush character is taken to be  The initial value for the
   .Ic flush
   character is taken to be
 the terminal's  the terminal's
 .Ic flush  .Ic flush
 character.  character.
Line 857 
Line 939 
 .Ic ip  .Ic ip
 above)  above)
 is sent to the remote host.  is sent to the remote host.
 The initial value for the interrupt character is taken to be  The initial value for the
   .Ic interrupt
   character is taken to be
 the terminal's  the terminal's
 .Ic intr  .Ic intr
 character.  character.
Line 870 
Line 954 
 .Ic toggle  .Ic toggle
 .Ic localchars  .Ic localchars
 below),  below),
 .Ic and  and if
 if  
 .Nm telnet  .Nm telnet
 is operating in \*(Lqcharacter at a time\*(Rq mode, then when this  is operating in ``character at a time'' mode, then when this
 character is typed, a  character is typed, a
 .Dv TELNET EL  .Dv TELNET EL
 sequence (see  sequence (see
Line 881 
Line 964 
 .Ic el  .Ic el
 above)  above)
 is sent to the remote system.  is sent to the remote system.
 The initial value for the kill character is taken to be  The initial value for the
   .Ic kill
   character is taken to be
 the terminal's  the terminal's
 .Ic kill  .Ic kill
 character.  character.
Line 890 
Line 975 
 .Nm telnet  .Nm telnet
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or \*(Lqold line by line\*(Lq mode, then this character is taken to  or ``old line by line'' mode, then this character is taken to
 be the terminal's  be the terminal's
 .Ic lnext  .Ic lnext
 character.  character.
 The initial value for the lnext character is taken to be  The initial value for the
   .Ic lnext
   character is taken to be
 the terminal's  the terminal's
 .Ic lnext  .Ic lnext
 character.  character.
Line 916 
Line 1003 
 .Ic brk  .Ic brk
 above)  above)
 is sent to the remote host.  is sent to the remote host.
 The initial value for the quit character is taken to be  The initial value for the
   .Ic quit
   character is taken to be
 the terminal's  the terminal's
 .Ic quit  .Ic quit
 character.  character.
Line 925 
Line 1014 
 .Nm telnet  .Nm telnet
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or \*(Lqold line by line\*(Lq mode, then this character is taken to  or old line by line'' mode, then this character is taken to
 be the terminal's  be the terminal's
 .Ic reprint  .Ic reprint
 character.  character.
 The initial value for the reprint character is taken to be  The initial value for the
   .Ic reprint
   character is taken to be
 the terminal's  the terminal's
 .Ic reprint  .Ic reprint
 character.  character.
Line 939 
Line 1030 
 .Tn TELNET  .Tn TELNET
 escape character is ignored unless it is  escape character is ignored unless it is
 preceded by this character at the beginning of a line.  preceded by this character at the beginning of a line.
 This character, at the beginning of a line followed by  This character, at the beginning of a line, followed by
 a "."  closes the connection; when followed by a ^Z it  a "." closes the connection; when followed by a ^Z it
 suspends the  suspends the
 .Nm telnet  .Nm telnet
 command.  The initial state is to  command.  The initial state is to
 disable the rlogin escape character.  disable the
   .Ic rlogin
   escape character.
 .It Ic start  .It Ic start
 If the  If the
 .Dv TELNET TOGGLE-FLOW-CONTROL  .Dv TELNET TOGGLE-FLOW-CONTROL
Line 953 
Line 1046 
 be the terminal's  be the terminal's
 .Ic start  .Ic start
 character.  character.
 The initial value for the start character is taken to be  The initial value for the
   .Ic start
   character is taken to be
 the terminal's  the terminal's
 .Ic start  .Ic start
 character.  character.
Line 965 
Line 1060 
 be the terminal's  be the terminal's
 .Ic stop  .Ic stop
 character.  character.
 The initial value for the stop character is taken to be  The initial value for the
   .Ic stop
   character is taken to be
 the terminal's  the terminal's
 .Ic stop  .Ic stop
 character.  character.
Line 985 
Line 1082 
 .Ic susp  .Ic susp
 above)  above)
 is sent to the remote host.  is sent to the remote host.
 The initial value for the suspend character is taken to be  The initial value for the
   .Ic suspend
   character is taken to be
 the terminal's  the terminal's
 .Ic suspend  .Ic suspend
 character.  character.
Line 1004 
Line 1103 
 .Nm telnet  .Nm telnet
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or \*(Lqold line by line\*(Lq mode, then this character is taken to  or ``old line by line'' mode, then this character is taken to
 be the terminal's  be the terminal's
 .Ic worderase  .Ic worderase
 character.  character.
 The initial value for the worderase character is taken to be  The initial value for the
   .Ic worderase
   character is taken to be
 the terminal's  the terminal's
 .Ic worderase  .Ic worderase
 character.  character.
Line 1063 
Line 1164 
 .El  .El
 .It Ic status  .It Ic status
 Show the current status of  Show the current status of
 .Nm telnet  .  .Nm telnet .
 This includes the peer one is connected to, as well  This includes the peer one is connected to, as well
 as the current mode.  as the current mode.
 .It Ic toggle Ar arguments ...  .It Ic toggle Ar arguments Op Ar ...
 Toggle (between  Toggle (between
 .Dv TRUE  .Dv TRUE
 and  and
Line 1099 
Line 1200 
 are both  are both
 .Dv TRUE ,  .Dv TRUE ,
 then when the  then when the
 .Ic ao  ,  .Ic ao
 or  or
 .Ic quit  .Ic quit
 characters are recognized (and transformed into  characters are recognized (and transformed into
Line 1127 
Line 1228 
 .Dv TELNET ENCRYPT  .Dv TELNET ENCRYPT
 option is negotiated, by  option is negotiated, by
 default the actual encryption (decryption) of the data  default the actual encryption (decryption) of the data
 stream does not start automatically.  The autoencrypt  stream does not start automatically.  The
 (autodecrypt) command states that encryption of the  .Ic autoencrypt
   .Pq Ic autodecrypt
   command states that encryption of the
 output (input) stream should be enabled as soon as  output (input) stream should be enabled as soon as
 possible.  possible.
 .Pp  .Pp
Line 1159 
Line 1262 
 .Ic intr  .Ic intr
 or  or
 .Ic quit  .Ic quit
 characters is typed (see  character is typed (see
 .Ic set  .Ic set
 above for descriptions of the  above for descriptions of the
 .Ic intr  .Ic intr
Line 1171 
Line 1274 
 .Dv TELNET SYNCH  .Dv TELNET SYNCH
 sequence.  sequence.
 This procedure  This procedure
 .Ic should  .Em should
 cause the remote system to begin throwing away all previously  cause the remote system to begin throwing away all previously
 typed input until both of the  typed input until both of the
 .Tn TELNET  .Tn TELNET
Line 1209 
Line 1312 
 This mode does not affect those characters typed by the user, only  This mode does not affect those characters typed by the user, only
 those received from the remote host.  those received from the remote host.
 This mode is not very useful unless the remote host  This mode is not very useful unless the remote host
 only sends carriage return, but never line feed.  only sends carriage return, but never line feeds.
 The initial value for this toggle is  The initial value for this toggle is
 .Dv FALSE .  .Dv FALSE .
 .It Ic debug  .It Ic debug
 Toggles socket level debugging (useful only to the  Toggles socket level debugging (useful only to the super-user).
 .Ic super user  ) .  
 The initial value for this toggle is  The initial value for this toggle is
 .Dv FALSE .  .Dv FALSE .
 .It Ic encdebug  .It Ic encdebug
Line 1223 
Line 1325 
 If this is  If this is
 .Dv TRUE ,  .Dv TRUE ,
 then the  then the
 .Ic flush  ,  .Ic flush ,
 .Ic interrupt ,  .Ic interrupt ,
 .Ic quit  ,  .Ic quit ,
 .Ic erase ,  .Ic erase ,
 and  and
 .Ic kill  .Ic kill
Line 1235 
Line 1337 
 .Tn TELNET  .Tn TELNET
 control sequences  control sequences
 (respectively  (respectively
 .Ic ao  ,  .Ic ao ,
 .Ic ip ,  .Ic ip ,
 .Ic brk  ,  .Ic brk ,
 .Ic ec ,  .Ic ec ,
 and  and
 .Ic el  ;  .Ic el  ;
Line 1246 
Line 1348 
 above).  above).
 The initial value for this toggle is  The initial value for this toggle is
 .Dv TRUE  .Dv TRUE
 in \*(Lqold line by line\*(Rq mode,  in ``old line by line'' mode,
 and  and
 .Dv FALSE  .Dv FALSE
 in \*(Lqcharacter at a time\*(Rq mode.  in ``character at a time'' mode.
 When the  When the
 .Dv LINEMODE  .Dv LINEMODE
 option is enabled, the value of  option is enabled, the value of
Line 1261 
Line 1363 
 has ever been enabled, then  has ever been enabled, then
 .Ic quit  .Ic quit
 is sent as  is sent as
 .Ic abort  ,  .Ic abort ,
 and  and
 .Ic eof and  .Ic eof
   and
 .Ic suspend  .Ic suspend
 are sent as  are sent as
 .Ic eof and  .Ic eof
   and
 .Ic susp  .Ic susp
 (see  (see
 .Ic send  .Ic send
Line 1301 
Line 1405 
 .Tn TELNET  .Tn TELNET
 skips the reading of the  skips the reading of the
 .Pa \&.telnetrc  .Pa \&.telnetrc
 file in the users home  file in the user's 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.
Line 1325 
Line 1429 
 .El  .El
 .It Ic z  .It Ic z
 Suspend  Suspend
 .Nm telnet  .  .Nm telnet .
 This command only works when the user is using the  This command only works when the user is using the
 .Xr csh  1  .  .Xr csh 1 .
 .It Ic \&! Op Ar command  .It Ic \&! Op Ar command
 Execute a single command in a subshell on the local  Execute a single command in a subshell on the local
 system.  If  system.  If
Line 1343 
Line 1447 
 will print the help information for just that command.  will print the help information for just that command.
 .El  .El
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 .Nm Telnet  .Nm telnet
 uses at least the  uses at least the
 .Ev HOME ,  .Ev HOME ,
 .Ev SHELL ,  .Ev SHELL ,
Line 1362 
Line 1466 
 .El  .El
 .Sh HISTORY  .Sh HISTORY
 The  The
 .Nm Telnet  .Nm telnet
 command appeared in  command appeared in
 .Bx 4.2 .  .Bx 4.2 .
 .Sh NOTES  .Sh NOTES
 .Pp  
 On some remote systems, echo has to be turned off manually when in  On some remote systems, echo has to be turned off manually when in
 \*(Lqold line by line\*(Rq mode.  ``old line by line'' mode.
 .Pp  .Pp
 In \*(Lqold line by line\*(Rq mode or  In ``old line by line'' mode or
 .Dv LINEMODE  .Dv LINEMODE
 the terminal's  the terminal's
 .Ic eof  .Ic eof

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12