Description of the Option
WILL and DO are used only to obtain and grant permission for future discussion. The actual exchange of status information occurs within option subcommands (IAC SB TERMINAL-TYPE...).
Once the two hosts have exchanged a WILL and a DO, the sender of the DO TERMINAL-TYPE is free to request type information. Only the sender of the DO may send requests (IAC SB TERMINAL-TYPE SEND IAC SE) and only the sender of the WILL may transmit actual type information (within an IAC SB TERMINAL-TYPE IS ... IAC SE command). Terminal type information may not be sent spontaneously, but only in response to a request.
The terminal type information is an NVT ASCII string. Within this string, upper and lower case are considered equivalent. The complete list of valid terminal type names can be found in the latest "Assigned Numbers" RFC.
The following is an example of use of the option:
Host1: IAC DO TERMINAL-TYPE
Host2: IAC WILL TERMINAL-TYPE
(Host1 is now free to request status information at any time.)
Host1: IAC SB TERMINAL-TYPE SEND IAC SE
Host2: IAC SB TERMINAL-TYPE IS IBM-3278-2 IAC SE