📄 telnet.0
字号:
connection; when followed by a ``^Z'' it will suspend the tteellnneett command. The initial state is to have the rrllooggiinn escape character disabled. ssttaarrtt If the TELNET TOGGLE-FLOW-CONTROL option has been enabled, then this character is taken to be the terminal's ssttaarrtt character. The initial value for the kill character is taken to be the terminal's ssttaarrtt character. ssttoopp If the TELNET TOGGLE-FLOW-CONTROL option has been enabled, then this character is taken to be the terminal's ssttoopp character. The initial value for the kill character is taken to be the terminal's ssttoopp character. ssuusspp If tteellnneett is in llooccaallcchhaarrss mode, or LINEMODE is enabled, and the ssuussppeenndd character is typed, a TELNET SUSP sequence (see sseenndd ssuusspp above) is sent to the remote host. The initial value for the suspend character is taken to be the terminal's ssuussppeenndd character. ttrraacceeffiillee This is the file to which the output, caused by nneettddaattaa,, tteerrmmddaattaa,, or ooppttiioonn tracing being TRUE, will be written. If it is set to ``--'', then tracing information will be written to standard output (the default). wwoorrddeerraassee If tteellnneett is operating in LINEMODE or ``old line by line`` mode, then this character is taken to be the terminal's wwoorrddeerraassee character. The initial value for the worderase character is taken to be the terminal's wwoorrddeerraassee character. ?? Displays the legal sseett (uunnsseett) commands. ssllcc _s_t_a_t_e The ssllcc command (Set Local Characters) is used to set or change the state of the the special characters when the TELNET LINEMODE option has been enabled. Special characters are characters that get mapped to TELNET commands sequences (like iipp or qquuiitt) or line editing characters (like eerraassee and kkiillll). By default, the local special characters are export- ed. eexxppoorrtt Switch to the local defaults for the special char- acters. The local default characters are those of the local terminal at the time when tteellnneett was started. iimmppoorrtt 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. cchheecckk Verify the current settings for the current spe- cial characters. The remote side is requested to send all the current special character settings, and if there are any discrepancies with the local side, the local side will switch to the remote value. ?? Prints out help information for the ssllcc command. ssttaattuuss Show the current status of tteellnneett. This includes the peer one is connected to, as well as the current mode. ttooggggllee _a_r_g_u_m_e_n_t_s ... Toggle (between TRUE and FALSE) various flags that control how tteellnneett responds to events. These flags may be set ex- plicitly to TRUE or FALSE using the sseett and uunnsseett commands listed above. More than one argument may be specified. The state of these flags may be interrogated with the ddiissppllaayy command. Valid arguments are: aauutthhddeebbuugg Turn on debugging information for the authenti- cation code. aauuttoofflluusshh If aauuttoofflluusshh and llooccaallcchhaarrss are both TRUE, then when the aaoo, or qquuiitt characters are recognized (and transformed into TELNET sequences; see sseett above for details), tteellnneett refuses to display any data on the user's terminal until the remote system acknowledges (via a TELNET TIMING MARK option) that it has processed those TELNET se- quences. The initial value for this toggle is TRUE if the terminal user had not done an "stty noflsh", otherwise FALSE (see stty(1)). aauuttooeennccrryypptt aauuttooddeeccrryypptt When the TELNET ENCRYPTION option is negotiated, by default the actual encryption (decryption) of the data stream does not automatically start. The aauuttooeennccrryypptt ((aauuttooddeeccrryypptt)) command states that encryption of the output (input) stream should be enabled as soon as possible. aauuttoollooggiinn If the TELNET AUTHENTICATION option is supported by the remote side, then tteellnneett will attempt to use it to perform automatic authentication. If the AUTHENTICATION option is not supported, then the users login name will be propagated via the TELNET ENVIRON option. This command is the same as specifying --aa option on the ooppeenn command. aauuttoossyynncchh If aauuttoossyynncchh and llooccaallcchhaarrss are both TRUE, then when either the iinnttrr or qquuiitt characters is typed (see sseett above for descriptions of the iinnttrr and qquuiitt characters), the resulting TELNET sequence sent is followed by the TELNET SYNCH sequence. This procedure sshhoouulldd 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 FALSE. bbiinnaarryy Enable or disable the TELNET BINARY option on both input and output. iinnbbiinnaarryy Enable or disable the TELNET BINARY option on input. oouuttbbiinnaarryy Enable or disable the TELNET BINARY option on output. ccrrllff If this is TRUE, then carriage returns will be sent as <CR><LF>. If this is FALSE, then car- riage returns will be send as <CR><NUL>. The initial value for this toggle is FALSE. ccrrmmoodd Toggle carriage return mode. When this mode is enabled, most carriage return characters re- ceived from the remote host will be mapped into a carriage return followed by a line feed. This mode does not affect those characters typed by the user, only those received from the remote host. This mode is not very useful unless the remote host only sends carriage return, but nev- er line feed. The initial value for this toggle is FALSE. ddeebbuugg Toggles socket level debugging (useful only to the ssuuppeerr uusseerr). The initial value for this toggle is FALSE. eennccddeebbuugg Turn on debugging information for the encryption code. llooccaallcchhaarrss If this is TRUE, then the fflluusshh, iinntteerrrruupptt, qquuiitt, eerraassee, and kkiillll characters (see sseett above) are recognized locally, and transformed into (hopefully) appropriate TELNET control sequences (respectively aaoo, iipp, bbrrkk, eecc, and eell; see sseenndd above). The initial value for this toggle is TRUE in ``old line by line'' mode, and FALSE in ``character at a time'' mode. When the LINEMODE option is enabled, the value of llooccaallcchhaarrss is ignored, and assumed to always be TRUE. If LINEMODE has ever been enabled, then qquuiitt is sent as aabboorrtt, and eeooff aanndd are sent as eeooff aanndd ssuusspp, see sseenndd above). nneettddaattaa Toggles the display of all network data (in hex- adecimal format). The initial value for this toggle is FALSE. ooppttiioonnss Toggles the display of some internal tteellnneett pro- tocol processing (having to do with TELNET op- tions). The initial value for this toggle is FALSE. pprreettttyydduummpp When the nneettddaattaa or tteerrmmddaattaa toggle is enabled, if pprreettttyydduummpp is enabled the output from the nneettddaattaa and tteerrmmddaattaa command will be formated in a more user readable format. Spaces are put between each character in the output, and the beginning of any TELNET escape sequence is pre- ceded by a '*' to aid in locating them. sskkiipprrcc When the sskkiipprrcc toggle is TRUE, then tteellnneett will skip the reading of the ._t_e_l_n_e_t_r_c file in the users home directory when connections are opened. The initial value for this toggle is FALSE. tteerrmmddaattaa Toggles the display of all terminal data (in hexadecimal format). The initial value for this toggle is FALSE. vveerrbboossee__eennccrryypptt When the vveerrbboossee__eennccrryypptt toggle is TRUE, then tteellnneett will print out a message each time en- cryption is enabled or disabled. The initial value for this toggle is FALSE. ?? Displays the legal ttooggggllee commands. zz Suspend tteellnneett. This command only works when the user is using the csh(1). !! [_c_o_m_m_a_n_d] Execute a single command in a subshell on the local system. If ccoommmmaanndd is omitted, then an interactive subshell is in- voked. ?? [_c_o_m_m_a_n_d] Get help. With no arguments, tteellnneett prints a help summary. If a command is specified, tteellnneett will print the help infor- mation for just that command.EENNVVIIRROONNMMEENNTT TTeellnneett uses at least the HOME, SHELL, DISPLAY, and TERM environment variables. Other environment variables may be propagated to the other side via the TELNET ENVIRON option.FFIILLEESS ~/._t_e_l_n_e_t_r_c user customized telnet startup valuesHHIISSTTOORRYY TTeellnneett appeared in 4.2 BSD.NNOOTTEESS On some remote systems, echo has to be turned off manually when in ``old line by line'' mode. In ``old line by line'' mode or LINEMODE the terminal's eeooff character is only recognized (and sent to the remote system) when it is the first character on a line.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -