跳到主要内容

表格

(1) <cmd> 是一个 8 位字节, 具有以下标志位(位从右数起):

Bit Meaning

0 0 = Ignore all other bits in this byte and repeat the last
<cmd> that was sent. Equals a 'continue what you have
been doing'.

1 = Perform actions as indicated by other bits in this
byte.

1 0 = Print (echo) Break character
1 = Skip (don't echo) Break character

2 0 = Print (echo) text up to Break character
1 = Skip (don't echo) text up to Break character

3 0 = Continue using same classes of Break characters.
1 = The two 8-bit bytes following this byte contain flags
for the new Break classes.

4 0 = Continue using same classes of Transmit characters

1 = Reset Transmit classes according two the two bytes
following 1) the Break classes bytes, if the Break
classes are also being reset, or 2) this byte, if the
Break classes are NOT also being reset.

字节值(十进制)及其含义:

0 = Continue what you have been doing

Even numbers greater than zero (i.e., numbers with the right-
most bit off) are in error and should be interpreted as
equal to zero. When the <cmd> is an even number greater
than zero, Classes bytes TC1 & TC2 and/or BC1 & BC2 must
not be sent.

1 = Print (echo) up to AND INCLUDING Break character

3 = Print up to Break character and SKIP (don't echo) Break
character

5 = Skip text (don't echo) up to Break character, but PRINT
Break character

7 = Skip up to and including Break character

将上述某个非零值与下列某个值相加, 即得到该字节的十进制总值(注意: 不重置打印动作就不能重置类别; 因此结果必为奇数):

8 = Set Break classes (using the next two bytes [BC1 BC2])

16 = Set Transmission classes (using the next two bytes [TC1
TC2])

24 = Set Break classes (using the next two bytes [BC1 BC2]) and
the Transmission classes (using the two bytes after that
[TC1 TC2]).

(2) Break 和 Transmission 的类别(第二个字节(TC2 或 BC2)的最右一位表示类别 1; 第一个字节(TC1 或 BC1)的最左一位表示目前尚未定义的类别 16):

1: Upper-Case Letter (A-Z)

2: Lower-case letters (a-z)

3: Numbers (0-9)

4: Format Effectors (<BS> <CR> <LF> <FF> <HT> <VT>)

5: Non-format effectors Control Characters, <DEL> and <ESC>

6: . , ; : ? !

7; - [ ( < > ) ] |

8: ' " / \ % @ $ # + - * = ^ <- _ (square box symbol)

9: <space>

此外, Telnet 命令(IAC...)始终具有 Break 字符的效果。

[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by Via Genie ]