Network Working Group J. Rekhter
Request For Comments: 1041 T.J. Watson Research Center, IBM
January 1988
Telnet 3270 Regime Option
1. Command Name and Code
3270-REGIME 29
2. Command Meaning
IAC WILL 3270-REGIME
Rekhter [Page 1]
RFC 1041 Telnet 3270 Regime Option January 1988
Empty REGIME-LIST means, that sender is able to support only NVT ASCII terminal as defined in [4].
3. Default
WON'T 3270-REGIME
4. Motivation for the option
This option allows a telnet server running VM or MVS to negotiate with the telnet client on the type of data stream (3270 or NVT ASCII) which both sides are willing support.
Rekhter [Page 2]
RFC 1041 Telnet 3270 Regime Option January 1988
Support for 3270 data stream requires that both sides:
Rekhter [Page 3]
RFC 1041 Telnet 3270 Regime Option January 1988
While this options does not include direct negotiation for such things as colors, graphics, structured fields, etc., certain features (like the ability to support colors) may be negotiated indirectly by using certain terminal type names specified in 3270-REGIME subnegotiation.
5. Description of the Option
WILL and DO commands are used to obtain and grant permission for the subsequent subnegotiation. Both sides must exchange WILL 3270-REGIME and DO 3270-REGIME prior to subnegotiation. The actual exchange of information is done within the option subcommand (IAC SB 3270-REGIME).
Rekhter [Page 4]
RFC 1041 Telnet 3270 Regime Option January 1988
6. Host A: IAC SB 3270-REGIME ARE 'ibm3279-3 ibm3279-2 ibm3278-3' IAC SE
6. Implementation Suggestions
If the side is able to support more that one terminal type, then terminal type names are listed in REGIME-LIST from most desirable to least desirable. Other side upon receive of the REGIME-LIST scans it from left to right and finds the first terminal type which it is able to support returns it in REGIME part of the 3270-REGIME IS subnegotiation.
Rekhter [Page 5]
RFC 1041 Telnet 3270 Regime Option January 1988
5. Telnet server can switch from its previous regime to the new regime only after it sends "IAC SB 3270-REGIME IS 'regime' IAC SE" to the telnet client.
7. References
[1] RFC-854, Telnet Terminal Type Option.