Passa al contenuto principale

Significato dei comandi

IAC WILL RCTE

Il mittente di questo comando RICHIEDE o ACCETTA di usare l'opzione RCTE e invierà istruzioni per controllare la stampante del terminale dell'altro lato.

IAC WON'T RCTE

Il mittente di questa opzione RIFIUTA di inviare istruzioni per controllare la stampante del terminale dell'altro lato.

IAC DO RCTE

Il mittente RICHIEDE o ACCETTA che l'altro lato (il mittente di WILL RCTE) emetta comandi che controlleranno la sua uscita (quella del mittente del DO) verso la stampante del terminale.

IAC DON'T RCTE

Il mittente di questo comando RIFIUTA di permettere all'altro lato di controllare la stampante del proprio terminale (quella del mittente del DON'T).

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

dove:

<cmd> è un byte a 8 bit con i seguenti flag (i bit sono contati da destra):

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.

Valore (decimale) del byte <cmd> e suo significato:

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

Si aggiunga uno dei precedenti valori diversi da zero a uno dei seguenti valori, per ottenere il valore decimale totale del byte (si noti che le classi non possono essere reimpostate senza reimpostare anche l'azione di stampa; quindi è garantito un numero dispari):

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

I sottocomandi (IAC SB RCTE...) sono inviati solo dall'host controllante e, oltre ad altre funzioni, sostituiscono funzionalmente il comando Telnet Go-Ahead (IAC GA).