=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/telnet/telnet.1,v retrieving revision 1.45 retrieving revision 1.46 diff -c -r1.45 -r1.46 *** src/usr.bin/telnet/telnet.1 2013/01/17 21:29:15 1.45 --- src/usr.bin/telnet/telnet.1 2014/01/19 10:39:00 1.46 *************** *** 1,4 **** ! .\" $OpenBSD: telnet.1,v 1.45 2013/01/17 21:29:15 jmc Exp $ .\" $NetBSD: telnet.1,v 1.5 1996/02/28 21:04:12 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: telnet.1,v 1.46 2014/01/19 10:39:00 schwarze Exp $ .\" $NetBSD: telnet.1,v 1.5 1996/02/28 21:04:12 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 *************** *** 30,43 **** .\" .\" from: @(#)telnet.1 8.4 (Berkeley) 2/3/94 .\" ! .Dd $Mdocdate: January 17 2013 $ .Dt TELNET 1 .Os .Sh NAME .Nm telnet ! .Nd user interface to the ! .Tn TELNET ! protocol .Sh SYNOPSIS .Nm telnet .Bk -words --- 30,41 ---- .\" .\" from: @(#)telnet.1 8.4 (Berkeley) 2/3/94 .\" ! .Dd $Mdocdate: January 19 2014 $ .Dt TELNET 1 .Os .Sh NAME .Nm telnet ! .Nd user interface to the TELNET protocol .Sh SYNOPSIS .Nm telnet .Bk -words *************** *** 58,66 **** The .Nm command ! is used to communicate with another host using the ! .Tn TELNET ! protocol. If .Nm is invoked without the --- 56,62 ---- The .Nm command ! is used to communicate with another host using the TELNET protocol. If .Nm is invoked without the *************** *** 260,267 **** .Ic intr , and .Ic flush ! characters are trapped locally, and sent as ! .Tn TELNET protocol sequences to the remote side. If .Dv LINEMODE --- 256,262 ---- .Ic intr , and .Ic flush ! characters are trapped locally, and sent as TELNET protocol sequences to the remote side. If .Dv LINEMODE *************** *** 269,278 **** .Ic susp and .Ic eof ! are also sent as ! .Tn TELNET ! protocol sequences, ! and .Ic quit is sent as a .Dv TELNET ABORT --- 264,270 ---- .Ic susp and .Ic eof ! are also sent as TELNET protocol sequences, and .Ic quit is sent as a .Dv TELNET ABORT *************** *** 286,293 **** .Ic autosynch below) which cause this action to flush subsequent output to the terminal ! (until the remote host acknowledges the ! .Tn TELNET sequence) and flush previous terminal input (in the case of .Ic quit --- 278,284 ---- .Ic autosynch below) which cause this action to flush subsequent output to the terminal ! (until the remote host acknowledges the TELNET sequence) and flush previous terminal input (in the case of .Ic quit *************** *** 354,362 **** authentication. .El .It Ic close ! Close a ! .Tn TELNET ! session and return to command mode. .It Ic display Ar argument ... Displays all, or some, of the .Ic set --- 345,351 ---- authentication. .El .It Ic close ! Close a TELNET session and return to command mode. .It Ic display Ar argument ... Displays all, or some, of the .Ic set *************** *** 511,518 **** option, nothing happens. If, however, the remote side does support the .Dv LOGOUT ! option, this command should cause the remote side to close the ! .Tn TELNET connection. If the remote side also supports the concept of suspending a user's session for later reattachment, --- 500,506 ---- option, nothing happens. If, however, the remote side does support the .Dv LOGOUT ! option, this command should cause the remote side to close the TELNET connection. If the remote side also supports the concept of suspending a user's session for later reattachment, *************** *** 520,527 **** should terminate the session immediately. .It Ic mode Ar type .Ar type ! is one of several options, depending on the state of the ! .Tn TELNET session. The remote host is asked for permission to go into the requested mode. If the remote host is capable of entering that mode, the requested --- 508,514 ---- should terminate the session immediately. .It Ic mode Ar type .Ar type ! is one of several options, depending on the state of the TELNET session. The remote host is asked for permission to go into the requested mode. If the remote host is capable of entering that mode, the requested *************** *** 590,598 **** If no port number is specified, .Nm ! will attempt to contact a ! .Tn TELNET ! server at the default port. The host specification may be either a host name (see .Xr hosts 5 ) or an Internet address specified in the ``dot notation'' (see --- 577,583 ---- If no port number is specified, .Nm ! will attempt to contact a TELNET server at the default port. The host specification may be either a host name (see .Xr hosts 5 ) or an Internet address specified in the ``dot notation'' (see *************** *** 605,613 **** option. When connecting to a non-standard port, .Nm ! omits any automatic initiation of ! .Tn TELNET ! options. When the port number is preceded by a minus sign, the initial option negotiation is done. After establishing a connection, the file --- 590,596 ---- option. When connecting to a non-standard port, .Nm ! omits any automatic initiation of TELNET options. When the port number is preceded by a minus sign, the initial option negotiation is done. After establishing a connection, the file *************** *** 629,637 **** .Nm command prompt. .It Ic quit ! Close any open ! .Tn TELNET ! session and exit .Nm telnet . An end-of-file (in command mode) will also close a session and exit. .It Ic send Ar argument ... --- 612,618 ---- .Nm command prompt. .It Ic quit ! Close any open TELNET session and exit .Nm telnet . An end-of-file (in command mode) will also close a session and exit. .It Ic send Ar argument ... *************** *** 723,731 **** sequence. This sequence causes the remote system to discard all previously typed (but not yet read) input. ! This sequence is sent as ! .Tn TCP ! urgent data (and may not work if the remote system is a .Bx 4.2 system -- if --- 704,710 ---- sequence. This sequence causes the remote system to discard all previously typed (but not yet read) input. ! This sequence is sent as TCP urgent data (and may not work if the remote system is a .Bx 4.2 system -- if *************** *** 737,745 **** 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 --- 716,722 ---- sequence. .Ar cmd can be either a decimal number between 0 and 255, ! or a symbolic name for a specific TELNET command. .Ar cmd can also be either .Ic help *************** *** 754,762 **** 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 --- 731,737 ---- sequence. .Ar cmd can be either a decimal number between 0 and 255, ! or a symbolic name for a specific TELNET command. .Ar cmd can also be either .Ic help *************** *** 771,779 **** 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 --- 746,752 ---- sequence. .Ar cmd can be either a decimal number between 0 and 255, ! or a symbolic name for a specific TELNET command. .Ar cmd can also be either .Ic help *************** *** 788,796 **** 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 --- 761,767 ---- sequence. .Ar cmd can be either a decimal number between 0 and 255, ! or a symbolic name for a specific TELNET command. .Ar cmd can also be either .Ic help *************** *** 837,845 **** commands. .Bl -tag -width escape .It Ic ayt ! If ! .Tn TELNET ! is in .Ic localchars mode, or .Dv LINEMODE --- 808,814 ---- commands. .Bl -tag -width escape .It Ic ayt ! If TELNET is in .Ic localchars mode, or .Dv LINEMODE *************** *** 927,935 **** character. .It Ic forw1 .It Ic forw2 ! If ! .Tn TELNET ! is operating in .Dv LINEMODE , these are the characters that, when typed, cause partial lines to be --- 896,902 ---- character. .It Ic forw1 .It Ic forw2 ! If TELNET is operating in .Dv LINEMODE , these are the characters that, when typed, cause partial lines to be *************** *** 1042,1049 **** character. .It Ic rlogin This is the rlogin escape character. ! If set, the normal ! .Tn TELNET escape character is ignored unless it is preceded by this character at the beginning of a line. This character, at the beginning of a line, followed by --- 1009,1015 ---- character. .It Ic rlogin This is the rlogin escape character. ! If set, the normal TELNET escape character is ignored unless it is preceded by this character at the beginning of a line. This character, at the beginning of a line, followed by *************** *** 1153,1160 **** .Dv TELNET LINEMODE option has been enabled. ! Special characters are characters that get mapped to ! .Tn TELNET commands sequences (like .Ic ip or --- 1119,1125 ---- .Dv TELNET LINEMODE option has been enabled. ! Special characters are characters that get mapped to TELNET commands sequences (like .Ic ip or *************** *** 1179,1187 **** .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 ! .Tn TELNET ! connection was established. .It Ic \&? Prints out help information for the .Ic slc --- 1144,1150 ---- .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 TELNET connection was established. .It Ic \&? Prints out help information for the .Ic slc *************** *** 1228,1236 **** .Ic ao or .Ic quit ! characters are recognized (and transformed into ! .Tn TELNET ! sequences; see .Ic set above for details), .Nm --- 1191,1197 ---- .Ic ao or .Ic quit ! characters are recognized (and transformed into TELNET sequences; see .Ic set above for details), .Nm *************** *** 1238,1246 **** until the remote system acknowledges (via a .Dv TELNET TIMING MARK option) ! that it has processed those ! .Tn TELNET ! sequences. The initial value for this toggle is .Dv TRUE if the terminal user had not --- 1199,1205 ---- until the remote system acknowledges (via a .Dv TELNET TIMING MARK option) ! that it has processed those TELNET sequences. The initial value for this toggle is .Dv TRUE if the terminal user had not *************** *** 1263,1271 **** .It Ic autologin If the remote side supports the .Dv TELNET AUTHENTICATION ! option ! .Tn TELNET ! attempts to use it to perform automatic authentication. If the .Dv AUTHENTICATION option is not supported, the user's login --- 1222,1228 ---- .It Ic autologin If the remote side supports the .Dv TELNET AUTHENTICATION ! option TELNET attempts to use it to perform automatic authentication. If the .Dv AUTHENTICATION option is not supported, the user's login *************** *** 1294,1309 **** .Ic intr and .Ic quit ! characters), the resulting ! .Tn TELNET ! sequence sent is followed by the .Dv TELNET SYNCH sequence. This procedure .Em should cause the remote system to begin throwing away all previously ! typed input until both of the ! .Tn TELNET sequences have been read and acted upon. The initial value of this toggle is .Dv FALSE . --- 1251,1263 ---- .Ic intr and .Ic quit ! characters), the resulting TELNET sequence sent is followed by the .Dv TELNET SYNCH sequence. This procedure .Em should cause the remote system to begin throwing away all previously ! typed input until both of the TELNET sequences have been read and acted upon. The initial value of this toggle is .Dv FALSE . *************** *** 1360,1367 **** characters (see .Ic set above) are recognized locally, and transformed into (hopefully) appropriate ! .Tn TELNET ! control sequences (respectively .Ic ao , .Ic ip , --- 1314,1320 ---- characters (see .Ic set above) are recognized locally, and transformed into (hopefully) appropriate ! TELNET control sequences (respectively .Ic ao , .Ic ip , *************** *** 1408,1416 **** .It Ic options Toggles the display of some internal .Nm ! protocol processing (having to do with ! .Tn TELNET ! options). The initial value for this toggle is .Dv FALSE . .It Ic prettydump --- 1361,1367 ---- .It Ic options Toggles the display of some internal .Nm ! protocol processing (having to do with TELNET options). The initial value for this toggle is .Dv FALSE . .It Ic prettydump *************** *** 1422,1435 **** .Ic netdata command will be formatted in a more user readable format. Spaces are put between each character in the output, and the ! beginning of any ! .Tn TELNET escape sequence is preceded by a '*' to aid in locating them. .It Ic skiprc When the skiprc toggle is .Dv TRUE , ! .Tn TELNET ! skips the reading of the .Pa \&.telnetrc file in the user's home directory when connections are opened. --- 1373,1384 ---- .Ic netdata command will be formatted in a more user readable format. Spaces are put between each character in the output, and the ! beginning of any TELNET escape sequence is preceded by a '*' to aid in locating them. .It Ic skiprc When the skiprc toggle is .Dv TRUE , ! TELNET skips the reading of the .Pa \&.telnetrc file in the user's home directory when connections are opened.