メインコンテンツまでスキップ

コマンドの意味

IAC WILL RCTE

このコマンドの送信側は、RCTE オプションの使用を要求または了承し、相手側の端末プリンタを制御するための指示を送ります。

IAC WON'T RCTE

このオプションの送信側は、相手側の端末プリンタを制御するための指示を送ることを拒否します。

IAC DO RCTE

送信側は、相手側 (WILL RCTE の送信側) が、自分 (DO の送信側) の端末プリンタへの出力を制御するコマンドを発行することを要求または了承します。

IAC DON'T RCTE

このコマンドの送信側は、相手側が自分 (DON'T の送信側) の端末プリンタを制御することを拒否します。

IAC SB RCTE <cmd> [BC1 BC2] [TC1 TC2]

ここで:

<cmd> は次のフラグを持つ 1 つの 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 to 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.

<cmd> バイトの値 (10 進数) とその意味:

0 = Continue what you have been doing

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

上記の 0 以外の値のいずれかに、次の値のいずれかを加えると、そのバイトの 10 進数の合計値になります (クラスは印字動作も同時にリセットしなければリセットできないため、必ず奇数になります):

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]).

サブコマンド (IAC SB RCTE...) は制御側ホストだけが送信でき、他の機能に加えて、機能的には Telnet の Go-Ahead (IAC GA) コマンドに取って代わります。