TerminalName query

The TerminalName query displays the current terminal name. This is the name sent to the host when it requests TERMINAL-NAME TELNET sub-option negotiation.

The terminal name is defined in one of three ways:
 * If the termName resource is defined, its value is used.
 * Otherwise, if oversize is defined, the value is.
 * Otherwise, the model name is used.

Example
Show the terminal name when configured as a model 4. x3270> Show(TerminalName) IBM-3279-4-E Show the terminal name when oversize is configured. x3270> Show(TerminalName) IBM-DYNAMIC

Version history
Added to x3270 4.0 in 2020.