Deleted Added
full compact
telnet.1 (72445) telnet.1 (76371)
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 84 unchanged lines hidden (view full) ---

93.It Fl K
94Specifies no automatic login to the remote system.
95.It Fl L
96Specifies an 8-bit data path on output. This causes the
97BINARY option to be negotiated on output.
98.It Fl S Ar tos
99Sets the IP type-of-service (TOS) option for the telnet
100connection to the value
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 84 unchanged lines hidden (view full) ---

93.It Fl K
94Specifies no automatic login to the remote system.
95.It Fl L
96Specifies an 8-bit data path on output. This causes the
97BINARY option to be negotiated on output.
98.It Fl S Ar tos
99Sets the IP type-of-service (TOS) option for the telnet
100connection to the value
101.Ar tos,
101.Ar tos ,
102which can be a numeric TOS value
103or, on systems that support it, a symbolic
104TOS name found in the /etc/iptos file.
105.It Fl X Ar atype
106Disables the
107.Ar atype
108type of authentication.
109.It Fl a

--- 19 unchanged lines hidden (view full) ---

129.Ic debug
130toggle to
131.Dv TRUE
132.It Fl e Ar escape char
133Sets the initial
134.Nm
135.Nm telnet
136escape character to
102which can be a numeric TOS value
103or, on systems that support it, a symbolic
104TOS name found in the /etc/iptos file.
105.It Fl X Ar atype
106Disables the
107.Ar atype
108type of authentication.
109.It Fl a

--- 19 unchanged lines hidden (view full) ---

129.Ic debug
130toggle to
131.Dv TRUE
132.It Fl e Ar escape char
133Sets the initial
134.Nm
135.Nm telnet
136escape character to
137.Ar escape char.
137.Ar escape char .
138If
139.Ar escape char
140is omitted, then
141there will be no escape character.
142.It Fl f
143If Kerberos V5 authentication is being used, the
144.Fl f
145option allows the local credentials to be forwarded to the remote system.
138If
139.Ar escape char
140is omitted, then
141there will be no escape character.
142.It Fl f
143If Kerberos V5 authentication is being used, the
144.Fl f
145option allows the local credentials to be forwarded to the remote system.
146.ne 1i
147.It Fl k Ar realm
148If Kerberos authentication is being used, the
149.Fl k
150option requests that telnet obtain tickets for the remote host in
151realm realm instead of the remote host's realm, as determined
152by
153.Xr krb_realmofhost 3 .
154.It Fl l Ar user

--- 144 unchanged lines hidden (view full) ---

299The auth command manipulates the information sent through the
300.Dv TELNET AUTHENTICATE
301option. Valid arguments for the
302auth command are as follows:
303.Bl -tag -width "disable type"
304.It Ic disable Ar type
305Disables the specified type of authentication. To
306obtain a list of available types, use the
146.It Fl k Ar realm
147If Kerberos authentication is being used, the
148.Fl k
149option requests that telnet obtain tickets for the remote host in
150realm realm instead of the remote host's realm, as determined
151by
152.Xr krb_realmofhost 3 .
153.It Fl l Ar user

--- 144 unchanged lines hidden (view full) ---

298The auth command manipulates the information sent through the
299.Dv TELNET AUTHENTICATE
300option. Valid arguments for the
301auth command are as follows:
302.Bl -tag -width "disable type"
303.It Ic disable Ar type
304Disables the specified type of authentication. To
305obtain a list of available types, use the
307.Ic auth disable \&?
306.Ic auth disable ?\&
308command.
309.It Ic enable Ar type
310Enables the specified type of authentication. To
311obtain a list of available types, use the
307command.
308.It Ic enable Ar type
309Enables the specified type of authentication. To
310obtain a list of available types, use the
312.Ic auth enable \&?
311.Ic auth enable ?\&
313command.
314.It Ic status
315Lists the current status of the various types of
316authentication.
317.El
318.It Ic close
319Close a
320.Tn TELNET

--- 10 unchanged lines hidden (view full) ---

331option.
332.Pp
333Note: Because of export controls, the
334.Dv TELNET ENCRYPT
335option is not supported outside of the United States and Canada.
336.Pp
337Valid arguments for the encrypt command are as follows:
338.Bl -tag -width Ar
312command.
313.It Ic status
314Lists the current status of the various types of
315authentication.
316.El
317.It Ic close
318Close a
319.Tn TELNET

--- 10 unchanged lines hidden (view full) ---

330option.
331.Pp
332Note: Because of export controls, the
333.Dv TELNET ENCRYPT
334option is not supported outside of the United States and Canada.
335.Pp
336Valid arguments for the encrypt command are as follows:
337.Bl -tag -width Ar
339.It Ic disable Ar type Ic [input|output]
338.It Ic disable Ar type Xo
339.Op Cm input | output
340.Xc
340Disables the specified type of encryption. If you
341omit the input and output, both input and output
342are disabled. To obtain a list of available
343types, use the
341Disables the specified type of encryption. If you
342omit the input and output, both input and output
343are disabled. To obtain a list of available
344types, use the
344.Ic encrypt disable \&?
345.Ic encrypt disable ?\&
345command.
346command.
346.It Ic enable Ar type Ic [input|output]
347.It Ic enable Ar type Xo
348.Op Cm input | output
349.Xc
347Enables the specified type of encryption. If you
348omit input and output, both input and output are
349enabled. To obtain a list of available types, use the
350Enables the specified type of encryption. If you
351omit input and output, both input and output are
352enabled. To obtain a list of available types, use the
350.Ic encrypt enable \&?
353.Ic encrypt enable ?\&
351command.
352.It Ic input
353This is the same as the
354.Ic encrypt start input
355command.
356.It Ic -input
357This is the same as the
358.Ic encrypt stop input
359command.
360.It Ic output
361This is the same as the
362.Ic encrypt start output
363command.
364.It Ic -output
365This is the same as the
366.Ic encrypt stop output
367command.
354command.
355.It Ic input
356This is the same as the
357.Ic encrypt start input
358command.
359.It Ic -input
360This is the same as the
361.Ic encrypt stop input
362command.
363.It Ic output
364This is the same as the
365.Ic encrypt start output
366command.
367.It Ic -output
368This is the same as the
369.Ic encrypt stop output
370command.
368.It Ic start Ic [input|output]
371.It Ic start Op Cm input | output
369Attempts to start encryption. If you omit
370.Ic input
371and
372Attempts to start encryption. If you omit
373.Ic input
374and
372.Ic output,
375.Ic output ,
373both input and output are enabled. To
374obtain a list of available types, use the
376both input and output are enabled. To
377obtain a list of available types, use the
375.Ic encrypt enable \&?
378.Ic encrypt enable ?\&
376command.
377.It Ic status
378Lists the current status of encryption.
379command.
380.It Ic status
381Lists the current status of encryption.
379.It Ic stop Ic [input|output]
382.It Ic stop Op Cm input | output
380Stops encryption. If you omit input and output,
381encryption is on both input and output.
382.It Ic type Ar type
383Sets the default type of encryption to be used
384with later
385.Ic encrypt start
386or
387.Ic encrypt stop
388commands.
389.El
383Stops encryption. If you omit input and output,
384encryption is on both input and output.
385.It Ic type Ar type
386Sets the default type of encryption to be used
387with later
388.Ic encrypt start
389or
390.Ic encrypt stop
391commands.
392.El
390.It Ic environ Ar arguments...
393.It Ic environ Ar arguments ...
391The
392.Ic environ
393command is used to manipulate the
394the variables that my be sent through the
395.Dv TELNET ENVIRON
396option.
397The initial set of variables is taken from the users
398environment, with only the
399.Ev DISPLAY
400and
401.Ev PRINTER
402variables being exported by default.
403The
404.Ev USER
405variable is also exported if the
406.Fl a
407or
408.Fl l
409options are used.
394The
395.Ic environ
396command is used to manipulate the
397the variables that my be sent through the
398.Dv TELNET ENVIRON
399option.
400The initial set of variables is taken from the users
401environment, with only the
402.Ev DISPLAY
403and
404.Ev PRINTER
405variables being exported by default.
406The
407.Ev USER
408variable is also exported if the
409.Fl a
410or
411.Fl l
412options are used.
410.br
413.Pp
411Valid arguments for the
412.Ic environ
413command are:
414.Bl -tag -width Fl
415.It Ic define Ar variable value
416Define the variable
417.Ar variable
418to have a value of
414Valid arguments for the
415.Ic environ
416command are:
417.Bl -tag -width Fl
418.It Ic define Ar variable value
419Define the variable
420.Ar variable
421to have a value of
419.Ar value.
422.Ar value .
420Any variables defined by this command are automatically exported.
421The
422.Ar value
423may be enclosed in single or double quotes so
424that tabs and spaces may be included.
425.It Ic undefine Ar variable
426Remove
427.Ar variable

--- 8 unchanged lines hidden (view full) ---

436to not be exported unless
437explicitly asked for by the remote side.
438.It Ic list
439List the current set of environment variables.
440Those marked with a
441.Cm *
442will be sent automatically,
443other variables will only be sent if explicitly requested.
423Any variables defined by this command are automatically exported.
424The
425.Ar value
426may be enclosed in single or double quotes so
427that tabs and spaces may be included.
428.It Ic undefine Ar variable
429Remove
430.Ar variable

--- 8 unchanged lines hidden (view full) ---

439to not be exported unless
440explicitly asked for by the remote side.
441.It Ic list
442List the current set of environment variables.
443Those marked with a
444.Cm *
445will be sent automatically,
446other variables will only be sent if explicitly requested.
444.It Ic \&?
447.It Ic ?\&
445Prints out help information for the
446.Ic environ
447command.
448.El
449.It Ic logout
450Sends the
451.Dv TELNET LOGOUT
452option to the remote side.

--- 54 unchanged lines hidden (view full) ---

507Attempt to enable (disable) the
508.Dv SOFT_TAB
509mode of the
510.Dv LINEMODE
511option.
512This requires that the
513.Dv LINEMODE
514option be enabled.
448Prints out help information for the
449.Ic environ
450command.
451.El
452.It Ic logout
453Sends the
454.Dv TELNET LOGOUT
455option to the remote side.

--- 54 unchanged lines hidden (view full) ---

510Attempt to enable (disable) the
511.Dv SOFT_TAB
512mode of the
513.Dv LINEMODE
514option.
515This requires that the
516.Dv LINEMODE
517option be enabled.
515.ne 1i
516.It Ic litecho Pq Ic \-litecho
517Attempt to enable (disable) the
518.Dv LIT_ECHO
519mode of the
520.Dv LINEMODE
521option.
522This requires that the
523.Dv LINEMODE
524option be enabled.
518.It Ic litecho Pq Ic \-litecho
519Attempt to enable (disable) the
520.Dv LIT_ECHO
521mode of the
522.Dv LINEMODE
523option.
524This requires that the
525.Dv LINEMODE
526option be enabled.
525.It Ic \&?
527.It Ic ?\&
526Prints out help information for the
527.Ic mode
528command.
529.El
530.It Xo
531.Ic open Ar host
528Prints out help information for the
529.Ic mode
530command.
531.El
532.It Xo
533.Ic open Ar host
532.Oo Op Fl l
533.Ar user
534.Oc Ns Oo Fl
535.Ar port Oc
534.Op Fl l Ar user
535.Op Oo Fl Oc Ns Ar port
536.Xc
537Open a connection to the named host.
538If no port number
539is specified,
540.Nm telnet
541will attempt to contact a
542.Tn TELNET
543server at the default port.

--- 97 unchanged lines hidden (view full) ---

641sequence, which likely has no significance to the remote system.
642.It Ic getstatus
643If the remote side supports the
644.Dv TELNET STATUS
645command,
646.Ic getstatus
647will send the subnegotiation to request that the server send
648its current option status.
536.Xc
537Open a connection to the named host.
538If no port number
539is specified,
540.Nm telnet
541will attempt to contact a
542.Tn TELNET
543server at the default port.

--- 97 unchanged lines hidden (view full) ---

641sequence, which likely has no significance to the remote system.
642.It Ic getstatus
643If the remote side supports the
644.Dv TELNET STATUS
645command,
646.Ic getstatus
647will send the subnegotiation to request that the server send
648its current option status.
649.ne 1i
650.It Ic ip
651Sends the
652.Dv TELNET IP
653(Interrupt Process) sequence, which should cause the remote
654system to abort the currently running process.
655.It Ic nop
656Sends the
657.Dv TELNET NOP

--- 29 unchanged lines hidden (view full) ---

687can be either a decimal number between 0 and 255,
688or a symbolic name for a specific
689.Dv TELNET
690command.
691.Ar Cmd
692can also be either
693.Ic help
694or
649.It Ic ip
650Sends the
651.Dv TELNET IP
652(Interrupt Process) sequence, which should cause the remote
653system to abort the currently running process.
654.It Ic nop
655Sends the
656.Dv TELNET NOP

--- 29 unchanged lines hidden (view full) ---

686can be either a decimal number between 0 and 255,
687or a symbolic name for a specific
688.Dv TELNET
689command.
690.Ar Cmd
691can also be either
692.Ic help
693or
695.Ic \&?
694.Ic ?\&
696to print out help information, including
697a list of known symbolic names.
695to print out help information, including
696a list of known symbolic names.
698.It Ic \&?
697.It Ic ?\&
699Prints out help information for the
700.Ic send
701command.
702.El
703.It Ic set Ar argument value
704.It Ic unset Ar argument value
705The
706.Ic set

--- 260 unchanged lines hidden (view full) ---

967.Ic send
968.Ic susp
969above)
970is sent to the remote host.
971The initial value for the suspend character is taken to be
972the terminal's
973.Ic suspend
974character.
698Prints out help information for the
699.Ic send
700command.
701.El
702.It Ic set Ar argument value
703.It Ic unset Ar argument value
704The
705.Ic set

--- 260 unchanged lines hidden (view full) ---

966.Ic send
967.Ic susp
968above)
969is sent to the remote host.
970The initial value for the suspend character is taken to be
971the terminal's
972.Ic suspend
973character.
975.ne 1i
976.It Ic tracefile
977This is the file to which the output, caused by
978.Ic netdata
979or
980.Ic option
981tracing being
982.Dv TRUE ,
983will be written. If it is set to

--- 7 unchanged lines hidden (view full) ---

991or \*(Lqold line by line\*(Lq mode, then this character is taken to
992be the terminal's
993.Ic worderase
994character.
995The initial value for the worderase character is taken to be
996the terminal's
997.Ic worderase
998character.
974.It Ic tracefile
975This is the file to which the output, caused by
976.Ic netdata
977or
978.Ic option
979tracing being
980.Dv TRUE ,
981will be written. If it is set to

--- 7 unchanged lines hidden (view full) ---

989or \*(Lqold line by line\*(Lq mode, then this character is taken to
990be the terminal's
991.Ic worderase
992character.
993The initial value for the worderase character is taken to be
994the terminal's
995.Ic worderase
996character.
999.It Ic \&?
997.It Ic ?\&
1000Displays the legal
1001.Ic set
1002.Pq Ic unset
1003commands.
1004.El
1005.It Ic slc Ar state
1006The
1007.Ic slc

--- 27 unchanged lines hidden (view full) ---

1035.Nm telnet
1036was started.
1037.It Ic import
1038Switch to the remote defaults for the special characters.
1039The remote default characters are those of the remote system
1040at the time when the
1041.Tn TELNET
1042connection was established.
998Displays the legal
999.Ic set
1000.Pq Ic unset
1001commands.
1002.El
1003.It Ic slc Ar state
1004The
1005.Ic slc

--- 27 unchanged lines hidden (view full) ---

1033.Nm telnet
1034was started.
1035.It Ic import
1036Switch to the remote defaults for the special characters.
1037The remote default characters are those of the remote system
1038at the time when the
1039.Tn TELNET
1040connection was established.
1043.It Ic \&?
1041.It Ic ?\&
1044Prints out help information for the
1045.Ic slc
1046command.
1047.El
1048.It Ic status
1049Show the current status of
1050.Nm telnet .
1051This includes the peer one is connected to, as well

--- 58 unchanged lines hidden (view full) ---

1110When the
1111.Dv TELNET ENCRYPT
1112option is negotiated, by
1113default the actual encryption (decryption) of the data
1114stream does not start automatically. The autoencrypt
1115(autodecrypt) command states that encryption of the
1116output (input) stream should be enabled as soon as
1117possible.
1042Prints out help information for the
1043.Ic slc
1044command.
1045.El
1046.It Ic status
1047Show the current status of
1048.Nm telnet .
1049This includes the peer one is connected to, as well

--- 58 unchanged lines hidden (view full) ---

1108When the
1109.Dv TELNET ENCRYPT
1110option is negotiated, by
1111default the actual encryption (decryption) of the data
1112stream does not start automatically. The autoencrypt
1113(autodecrypt) command states that encryption of the
1114output (input) stream should be enabled as soon as
1115possible.
1118.sp
1119.Pp
1120Note: Because of export controls, the
1121.Dv TELNET ENCRYPT
1122option is not supported outside the United States and Canada.
1123.It Ic autologin
1124If the remote side supports the
1125.Dv TELNET AUTHENTICATION
1126option

--- 141 unchanged lines hidden (view full) ---

1268.It Ic options
1269Toggles the display of some internal
1270.Nm telnet
1271protocol processing (having to do with
1272.Tn TELNET
1273options).
1274The initial value for this toggle is
1275.Dv FALSE .
1116.Pp
1117Note: Because of export controls, the
1118.Dv TELNET ENCRYPT
1119option is not supported outside the United States and Canada.
1120.It Ic autologin
1121If the remote side supports the
1122.Dv TELNET AUTHENTICATION
1123option

--- 141 unchanged lines hidden (view full) ---

1265.It Ic options
1266Toggles the display of some internal
1267.Nm telnet
1268protocol processing (having to do with
1269.Tn TELNET
1270options).
1271The initial value for this toggle is
1272.Dv FALSE .
1276.ne 1i
1277.It Ic prettydump
1278When the
1279.Ic netdata
1280toggle is enabled, if
1281.Ic prettydump
1282is enabled the output from the
1283.Ic netdata
1284command will be formatted in a more user readable format.

--- 5 unchanged lines hidden (view full) ---

1290When the skiprc toggle is
1291.Dv TRUE ,
1292.Tn TELNET
1293skips the reading of the
1294.Pa \&.telnetrc
1295file in the users home
1296directory when connections are opened. The initial
1297value for this toggle is
1273.It Ic prettydump
1274When the
1275.Ic netdata
1276toggle is enabled, if
1277.Ic prettydump
1278is enabled the output from the
1279.Ic netdata
1280command will be formatted in a more user readable format.

--- 5 unchanged lines hidden (view full) ---

1286When the skiprc toggle is
1287.Dv TRUE ,
1288.Tn TELNET
1289skips the reading of the
1290.Pa \&.telnetrc
1291file in the users home
1292directory when connections are opened. The initial
1293value for this toggle is
1298.Dv FALSE.
1294.Dv FALSE .
1299.It Ic termdata
1300Toggles the display of all terminal data (in hexadecimal format).
1301The initial value for this toggle is
1302.Dv FALSE .
1303.It Ic verbose_encrypt
1304When the
1305.Ic verbose_encrypt
1306toggle is
1307.Dv TRUE ,
1308.Tn TELNET
1309prints out a message each time encryption is enabled or
1310disabled. The initial value for this toggle is
1295.It Ic termdata
1296Toggles the display of all terminal data (in hexadecimal format).
1297The initial value for this toggle is
1298.Dv FALSE .
1299.It Ic verbose_encrypt
1300When the
1301.Ic verbose_encrypt
1302toggle is
1303.Dv TRUE ,
1304.Tn TELNET
1305prints out a message each time encryption is enabled or
1306disabled. The initial value for this toggle is
1311.Dv FALSE.
1307.Dv FALSE .
1312Note: Because of export controls, data encryption
1313is not supported outside of the United States and Canada.
1314.It Ic \&?
1315Displays the legal
1316.Ic toggle
1317commands.
1318.El
1319.It Ic z
1320Suspend
1321.Nm telnet .
1322This command only works when the user is using the
1323.Xr csh 1 .
1324.It Ic \&! Op Ar command
1325Execute a single command in a subshell on the local
1326system. If
1327.Ic command
1328is omitted, then an interactive
1329subshell is invoked.
1308Note: Because of export controls, data encryption
1309is not supported outside of the United States and Canada.
1310.It Ic \&?
1311Displays the legal
1312.Ic toggle
1313commands.
1314.El
1315.It Ic z
1316Suspend
1317.Nm telnet .
1318This command only works when the user is using the
1319.Xr csh 1 .
1320.It Ic \&! Op Ar command
1321Execute a single command in a subshell on the local
1322system. If
1323.Ic command
1324is omitted, then an interactive
1325subshell is invoked.
1330.It Ic \&? Op Ar command
1326.It Ic ?\& Op Ar command
1331Get help. With no arguments,
1332.Nm telnet
1333prints a help summary.
1334If a command is specified,
1335.Nm telnet
1336will print the help information for just that command.
1337.El
1338.Sh ENVIRONMENT

--- 33 unchanged lines hidden ---
1327Get help. With no arguments,
1328.Nm telnet
1329prints a help summary.
1330If a command is specified,
1331.Nm telnet
1332will print the help information for just that command.
1333.El
1334.Sh ENVIRONMENT

--- 33 unchanged lines hidden ---