Does anyone know what call will somehow return the terminal type at the
other end of
an incoming telnet connection. I have a socket set up accessible via its
file descriptor. I know how to get information like terminal size using
ioctl(fd,TIOCGWNSZ,&winsize); but I can't find a similar call documented
for terminal type.
CAn anyone help?
Thanks,
Zach.