Passa al contenuto principale

2. Opzioni Telnet

Per la modalità operativa 5250 non vengono definite nuove opzioni Telnet. Tuttavia, per abilitare la modalità 5250, sia il client sia il server devono concordare almeno il supporto delle opzioni Telnet Binary, End-Of-Record (EOR) e Terminal-Type. L'elenco completo dei tipi di terminale 5250 è mantenuto nell'RFC Assigned Numbers e comprende i seguenti:

IBM-5555-C01   24 x 80 Double-Byte Character Set color display
IBM-5555-B01 24 x 80 Double-Byte Character Set (DBCS)
IBM-3477-FC 27 x 132 color display
IBM-3477-FG 27 x 132 monochrome display
IBM-3180-2 27 x 132 monochrome display
IBM-3179-2 24 x 80 color display
IBM-3196-A1 24 x 80 monochrome display
IBM-5292-2 24 x 80 color display
IBM-5291-1 24 x 80 monochrome display
IBM-5251-11 24 x 80 monochrome display

Di seguito è mostrato un esempio di un tipico processo di negoziazione per stabilire la modalità operativa 5250. In questo esempio, il server avvia la negoziazione inviando la richiesta DO TERMINAL-TYPE.

Server: IAC DO TERMINAL-TYPE
Client: IAC WILL TERMINAL-TYPE
Server: IAC SB TERMINAL-TYPE SEND IAC SE
Client: IAC SB TERMINAL-TYPE IS IBM-5251-11 IAC SE
(The client has specified its terminal-type is an IBM-5251-11)

Server: IAC DO END-OF-RECORD
Client: IAC WILL END-OF-RECORD
Server: IAC WILL END-OF-RECORD
Client: IAC DO END-OF-RECORD
(The server and client have both agreed to transmit EORs)

Server: IAC DO TRANSMIT-BINARY
Client: IAC WILL TRANSMIT-BINARY
Server: IAC WILL TRANSMIT-BINARY
Client: IAC DO TRANSMIT-BINARY
(The server and client have both agreed to binary transmission)