[comp.sys.zenith.z100] How to utilize the information returned by '<ESC> i 0'

koziarz@halibut.nosc.mil (Walter A. Koziarz) (08/17/90)

I need to determine the type of video available in a Z-100 and the escape
sequence mentioned in the Subject line (<ESC> i 0).  I even get the correct
response; but IT GETS ECHOED TO THE %$%$^&^$%$ SCREEN.  I would like it (make
that I *need* it) in a string variable in a C program.  This a fragment showing
what I'm trying to explain:

	.
	.
	.
	puts("\033Ei0");  /* zenith identify terminal type */
	gets(term_id);    /* term_id receives string describing video sys */
	.
	.
	.
	[ do some other stuff based upon video RAM size/no of planes ]

Any ideas??

Thanks,

Walt K.