Terminal Emulation in Telnet
The Telnet program can emulate XTERM, AT386, ANSI, VT52, VT100, VT125, VT220 and VT240 terminals. The terminfo.ini file describes the capabilities of these terminals. This description contains control sequences for them and is very similar to the TERMINFO source code of the UNIX system. So users can edit the file to suit to the special environment.
By editing the terminfo.ini file, users can define the terminal type, the screen size (the number of lines and columns), the number of colors, the color palette (i.e. RGB values for each color number), sequences to be transferred to remote hosts for each user-defined key on the keyboard.
Appendix B contains detailed information on how to describe the terminal emulation capabilities.