?? 00000016.htm
字號:
Many systems provide a function which deletes the last <br /> preceding undeleted character or "print position"* from the <br /> stream of data being supplied by the user. This function is <br /> typically used to edit keyboard input when typing mistakes are <br /> made. EC is the standard representation for invoking this <br /> function. <br /> *NOTE: A "print position" may contain several characters <br /> which are the result of overstrikes, or of sequences such as <br /> <char1> BS <char2>... <br /> Erase Line (EL) <br /> Many systems provide a function which deletes all the data in <br /> the current "line" of input. This function is typically used <br /> to edit keyboard input. EL is the standard representation for <br /> invoking this function. <br /> THE TELNET "SYNCH" SIGNAL <br /> Most time-sharing systems provide mechanisms which allow a <br /> terminal user to regain control of a "runaway" process; the IP and <br /> AO functions described above are examples of these mechanisms. <br /> Such systems, when used locally, have access to all of the signals <br /> supplied by the user, whether these are normal characters or <br /> special "out of band" signals such as those supplied by the <br /> teletype "BREAK" key or the IBM 2741 "ATTN" key. This is not <br /> necessarily true when terminals are connected to the system <br /> through the network; the network's flow control mechanisms may <br /> cause such a signal to be buffered elsewhere, for example in the <br /> user's host. <br />Postel & Reynolds [Page 8] <br /> <br />RFC 854 May 1983 <br /> To counter this problem, the TELNET "Synch" mechanism is <br /> introduced. A Synch signal consists of a TCP Urgent notification, <br /> coupled with the TELNET command DATA MARK. The Urgent <br /> notification, which is not subject to the flow control pertaining <br /> to the TELNET connection, is used to invoke special handling of <br /> the data stream by the process which receives it. In this mode, <br /> the data stream is immediately scanned for "interesting" signals <br /> as defined below, discarding intervening data. The TELNET command <br /> DATA MARK (DM) is the synchronizing mark in the data stream which <br /> indicates that any special signal has already occurred and the <br /> recipient can return to normal processing of the data stream. <br /> The Synch is sent via the TCP send operation with the Urgent <br /> flag set and the DM as the last (or only) data octet. <br /> When several Synchs are sent in rapid succession, the Urgent <br /> notifications may be merged. It is not possible to count Urgents <br /> since the number received will be less than or equal the number <br /> sent. When in normal mode, a DM is a no operation; when in urgent <br /> mode, it signals the end of the urgent processing. <br /> If TCP indicates the end of Urgent data before the DM is found, <br /> TELNET should continue the special handling of the data stream <br /> until the DM is found. <br /> If TCP indicates more Urgent data after the DM is found, it can <br /> only be because of a subsequent Synch. TELNET should continue <br /> the special handling of the data stream until another DM is <br /> found. <br /> "Interesting" signals are defined to be: the TELNET standard <br /> representations of IP, AO, and AYT (but not EC or EL); the local <br /> analogs of these standard representations (if any); all other <br /> TELNET commands; other site-defined signals which can be acted on <br /> without delaying the scan of the data stream. <br /> Since one effect of the SYNCH mechanism is the discarding of <br /> essentially all characters (except TELNET commands) between the <br /> sender of the Synch and its recipient, this mechanism is specified <br /> as the standard way to clear the data path when that is desired. <br /> For example, if a user at a terminal causes an AO to be <br /> transmitted, the server which receives the AO (if it provides that <br /> function at all) should return a Synch to the user. <br /> Finally, just as the TCP Urgent notification is needed at the <br /> TELNET level as an out-of-band signal, so other protocols which <br /> make use of TELNET may require a TELNET command which can be <br /> viewed as an out-of-band signal at a different level. <br />Postel & Reynolds [Page 9] <br /> <br />RFC 854 May 1983 <br /> By convention the sequence [IP, Synch] is to be used as such a <br /> signal. For example, suppose that some other protocol, which uses <br /> TELNET, defines the character string STOP analogously to the <br /> TELNET command AO. Imagine that a user of this protocol wishes a <br /> server to process the STOP string, but the connection is blocked <br /> because the server is processing other commands. The user should <br /> instruct his system to: <br /> 1. Send the TELNET IP character; <br /> 2. Send the TELNET SYNC sequence, that is: <br /> Send the Data Mark (DM) as the onl
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -