1 Terminal_IDs
Some terminal types may be identified by sending trigger sequences and
inspecting the response, as follows:-

Terminal		Trigger			Response
--------		-------			--------
BTS			none			none
DECmate I		esc Z, esc[c or esc[0c	esc[?8;3c
DECmate, VT52 mode	esc Z			esc/Z
II/III   VT100 mode	esc Z, esc[c or esc[0c	esc[?1;2c (EH NO) esc[?6c (YES)
	   VT200 mode	esc Z, esc[c or esc[0c	esc[?62;1c (NO)   esc[?62;1;2c
	   graphics	esc Z, esc[c or esc[0c	esc[?12;7;1c (NO) esc[?12;7;0c
DEC Professional	esc[c or esc[0c		esc[?23;0;0;1;0c
HP2648A		esc&p1^ dc1		2648A cr
HP2686A		none			none
LA12			none			none
LA34 and LA38		esc z, esc[c or esc[0c	esc[?3;1c to esc[?3;7c
LA50			esc[c or esc[0c		esc[?17c
LA80			none			none
LA84			none			none
LA100			esc[c or esc[0c		esc[?10c or esc[?10;2c
LA120			esc[c or esc[0c		esc[?2c
LA210			esc[c or esc[0c		esc[?10;3c
LN01K			none			none
LN03			esc[c or esc[0c		esc[?26c
LQP02			esc[c or esc[0c		esc[?13;0c
M2550			esc[c or esc[0c		esc[?7c
VK100			esc[c or esc[0c		esc[?5;0c
VT52			esc Z			esc/K
VT55			esc Z			esc/C
VT80			esc[c or esc[0c		esc[?3;0c
VT100			esc[c or esc[0c		esc[?1;2c (2 -> 0 if no AVO)
VT101			esc[c or esc[0c		esc[?1;0c
VT102			esc[c or esc[0c		esc[?6c
VT105			esc[c or esc[0c		esc[?1;6c
VT125			esc[c or esc[0c		esc[?12;7;0;102c
						  (7 -> 5 if no AVO,
						   0 -> 1 if printer attached)
VT131			esc[c or esc[0c		esc[?7c
VT132			esc[c or esc[0c		esc[?1;0c
VT220			esc[c or esc[0c		esc[?62;1;2;6;7;8;9c
			  or csi c or csi 0c	csi?62;1;2;6;7;8;9c
VT240			esc[c or esc[0c		esc[?62;1;2;3;4;6;7;8;9c
			  or csi c or csi 0c	csi?62;1;2;3;4;6;7;8;9c
VT300 series		esc[c or esc[0c
				     esc[?63;1;2;6;7;8;9;11;13;15;17;18;19;21c
			  or csi c or csi 0c
				     csi?63;1;2;6;7;8;9;11;13;15;17;18;19;21c
