to build:
aclocal && automake -a && autoconf && ./configure && make && make install



response matrix of different terminals to probes:
(the termprobes script can be used to find out)


	DA		old term id	DA1		extend. DA	second. DA		answerback	tell its title
	\033[c		\033Z		\033[1c		\033[?1;1c	\033[>c			\005		\033[21;t
                                        		

linux	\033[?6c	same as DA	-		cursor off	c			-		-
putty	like linux	same as DA	same as DA	-		\033[>0;136;0c		PuTTY		yes
gnome	like linux	-		same as DA	-		\033[>1;0;0c		-		-

xterm	\033[?1;2c	same as DA	same as DA	-		\033[>0;$version;0c	-		yes
kterm	like xterm	same as DA	-		-		same as DA		-		-
screen	like xterm	same as DA	-		-		\033[>83;$version;0c	-		-
rxvt	like xterm	same as DA	same as DA	same as DA	\033[>82;$version;0c	same as DA	yes (appends 0x1c)
terat.	like xterm	same as DA	same as DA	-		\033[>32;$version;2c	-		-
mlterm	like xterm	-		same as DA	-		- (will print 'c')	-		-

konsole	\033[>0;115;0c	same as DA	same as DA	-		same as DA		-		-

win	\033[?1;0c	\033[?18;2c	same as DA	same as DA	c			possibly 1 char	-


MacOS X Terminal.app: undistiguishable from kterm; but it seems to work with TERM=kterm (although I didn't test thouroughly)


AIX (not supported):
xterm	\033[?1;2c	same as DA	-		-		same as DA		-		-
aixterm	\033[?1;2c	-		-		-		same as DA		-		-

