The tnterm.zip file contains: telnet.c telnet.h These are taken from the JNOS 1.08d release, but probably will integrate into any current variant of NOS with little effort. These files have been enhanced to add sub-negotiation for terminal type. In other words, if you set a DOS environment variable 'TERM' to the name of the terminal your system emulates, telnet will provide this to a telnet server when starting a session. The net result is that Unix systems automagically know which termcap to use. In my case, I added a terminfo file for NNANSI.SYS to our Unix system, so I have: set TERM=NNANSI in my autoexec.bat. I built this with Borland C++ 2.0, and tested it against AIX RS/6000, AIX-PS/2 1.2.1 and SVR4. The code is slightly hacky, but could be a starting point for implementing other telnet options and sub-options. If you have any questions or comments, please address them to me at: dana@locus.com Enjoy! Dana 6/15/93