[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.53 and 1.54

version 1.53, 2014/08/10 02:41:41 version 1.54, 2014/11/15 14:41:02
Line 105 
Line 105 
 .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 ``alias'' specifier) or to the address of  and the
   .Cm 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 use IP addresses  This can be useful when connecting to services which use IP addresses
Line 203 
Line 205 
 If this fails,  If this fails,
 .Nm  .Nm
 will revert to one of two input modes:  will revert to one of two input modes:
 either ``character at a time''  either
 or ``old line by line''  .Dq character at a time
   or
   .Dq old line by line
 depending on what the remote system supports.  depending on what the remote system supports.
 .Pp  .Pp
 When  When
Line 218 
Line 222 
 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 ``character at a time'' mode, most  In
   .Dq 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 ``old line by line'' mode, all text is echoed locally,  In
   .Dq 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 ``local echo character'' (initially ``^E'') may be used  The local echo character
   .Pq initially Sq ^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 234 
Line 244 
 .Ic localchars  .Ic localchars
 toggle is  toggle is
 .Dv TRUE  .Dv TRUE
 (the default for ``old line by line''; see below),  (the default for
   .Dq old line by line ;
   see below),
 the user's  the user's
 .Ic quit ,  .Ic quit ,
 .Ic intr ,  .Ic intr ,
Line 273 
Line 285 
 .Nm  .Nm
 command mode may be entered by typing the  command mode may be entered by typing the
 .Nm  .Nm
 ``escape character'' (initially ``^]'').  escape character
   .Pq initially Sq ^] .
 When in command mode, the normal terminal editing conventions are available.  When in command mode, the normal terminal editing conventions are available.
 Note that the escape character will return to the command mode of the initial  Note that the escape character will return to the command mode of the initial
 invocation of  invocation of
Line 397 
Line 410 
 .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 ``character at a time'' mode.  option, then enter
   .Dq 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 ``old-line-by-line'' mode.  option, then attempt to enter
   .Dq 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 460 
Line 477 
 will attempt to contact a TELNET server at the default port.  will attempt to contact a TELNET 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 ``dot notation'' (see  or an Internet address specified in the
   .Dq dot notation
   (see
 .Xr inet_ntop 3 ) .  .Xr inet_ntop 3 ) .
 The  The
 .Fl a ,  .Fl a ,
Line 478 
Line 497 
 .Pa \&.telnetrc  .Pa \&.telnetrc
 in the  in the
 user's home directory is opened.  user's home directory is opened.
 Lines beginning with a ``#'' are  Lines beginning with a
 comment lines.  .Sq #
   are comment lines.
 Blank lines are ignored.  Blank lines are ignored.
 Lines that begin  Lines that begin
 without whitespace are the start of a machine entry.  without whitespace are the start of a machine entry.
Line 551 
Line 571 
 .It Ic escape  .It Ic escape
 Sends the current  Sends the current
 .Nm  .Nm
 escape character (initially ``^]'').  escape character
   .Pq initially Sq ^] .
 .It Ic ga  .It Ic ga
 Sends the  Sends the
 .Dv TELNET GA  .Dv TELNET GA
Line 589 
Line 610 
 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 ``r'' may be echoed on the terminal).  it doesn't work, a lower case
   .Sq r
   may be echoed on the terminal).
 .It Ic do Ar cmd  .It Ic do Ar cmd
 Sends the  Sends the
 .Dv TELNET DO  .Dv TELNET DO
Line 702 
Line 725 
 The initial value for the "Are You There"  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 ``^E'') which, when in  This is the value
 ``line by line'' mode, toggles between doing local echoing  .Pq initially Sq ^E
   which, when in
   .Dq 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 711 
Line 737 
 .Nm  .Nm
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or ``old line by line'' mode, entering this character  or
   .Dq 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  The initial value of the
Line 730 
Line 758 
 below),  below),
 and if  and if
 .Nm  .Nm
 is operating in ``character at a time'' mode, then when this  is operating in
 character is typed, a  .Dq character at a time
   mode, then when this character is typed, a
 .Dv TELNET EC  .Dv TELNET EC
 sequence (see  sequence (see
 .Ic send  .Ic send
Line 747 
Line 776 
 .It Ic escape  .It Ic escape
 This is the  This is the
 .Nm  .Nm
 escape character (initially ``^['') which causes entry  escape character
 into  .Pq initially Sq ^[
   which causes entry into
 .Nm  .Nm
 command mode (when connected to a remote system).  command mode (when connected to a remote system).
 .It Ic flushoutput  .It Ic flushoutput
Line 820 
Line 850 
 below),  below),
 and if  and if
 .Nm  .Nm
 is operating in ``character at a time'' mode, then when this  is operating in
 character is typed, a  .Dq character at a time
   mode, then when this character is typed, a
 .Dv TELNET EL  .Dv TELNET EL
 sequence (see  sequence (see
 .Ic send  .Ic send
Line 839 
Line 870 
 .Nm  .Nm
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or ``old line by line'' mode, then this character is taken to  or
 be the terminal's  .Dq old line by line
   mode, then this character is taken to be the terminal's
 .Ic lnext  .Ic lnext
 character.  character.
 The initial value for the  The initial value for the
Line 878 
Line 910 
 .Nm  .Nm
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or ``old line by line'' mode, then this character is taken to  or
 be the terminal's  .Dq old line by line
   mode, then this character is taken to be the terminal's
 .Ic reprint  .Ic reprint
 character.  character.
 The initial value for the  The initial value for the
Line 968 
Line 1001 
 .Nm  .Nm
 is operating in  is operating in
 .Dv LINEMODE  .Dv LINEMODE
 or ``old line by line'' mode, then this character is taken to  or
 be the terminal's  .Dq old line by line
   mode, then this character is taken to be the terminal's
 .Ic worderase  .Ic worderase
 character.  character.
 The initial value for the  The initial value for the
Line 1187 
Line 1221 
 above).  above).
 The initial value for this toggle is  The initial value for this toggle is
 .Dv TRUE  .Dv TRUE
 in ``old line by line'' mode,  in
 and  .Dq old line by line
   mode, and
 .Dv FALSE  .Dv FALSE
 in ``character at a time'' mode.  in
   .Dq 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 1303 
Line 1340 
 .Bx 4.2 .  .Bx 4.2 .
 .Sh NOTES  .Sh NOTES
 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
 ``old line by line'' mode.  .Dq old line by line
   mode.
 .Pp  .Pp
 In ``old line by line'' mode or  In
   .Dq 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.53  
changed lines
  Added in v.1.54