WRT to the previous post, I just looked up the VT Device Attributes (DA) reports that might be used to determine the remote terminal version. I assume that the A/T version could be considered "firmware", so the secondary DA request might be used.
When sending the secondary DA request,
CSI > 0 c
from the host to A/T, the client gives a response of
CSI > 1 ; 10 ; 0 c
which indicates VT220, firmware version 1.0, no options.
Perhaps that firmware version could be reported as 535 (the workstation I was using had A/T v5.35) so that the host could know what special features it could utilize on the connected terminal.
I'm sure you can think of a dozen other VT CSI codes that might be more appropriate for this purpose.
Doug Campbell
BTW, my VT codes research came from
VT100.net