/ect/termcap defines the teminal emulation.
It would be used by ssh, telnet, ftp , maybe getty and setty.
Quoting from the termcap man page:
TERMCAP(5) Linux Programmer's Manual TERMCAP(5)
termcap - terminal capability database
The termcap database is an obsolete facility for describ-
ing the capabilities of character-cell terminals and
printers. It is retained only for capability with old
programs; new ones should use the terminfo(5) database and
/etc/termcap is an ASCII file (the database master) that
lists the capabilities of many different types of termi-
nals. Programs can read termcap to find the particular
escape codes needed to control the visual attributes of
the terminal actually in use. (Other aspects of the ter-
minal are handled by stty.) The termcap database is
indexed on the TERM environment variable.