etctermcap
etctermcap refers to the terminal capability database used by older Unix-like systems, typically stored in the file /etc/termcap. It provides descriptions of terminal types and their capabilities so applications can control terminal I/O in a device-independent way. The database is used by programs and libraries that implement the termcap interface to determine how to move the cursor, clear the screen, interpret key presses, and perform other terminal operations.
In a termcap file, each line defines a terminal type. The line starts with the terminal name
Relation to termcap and terminfo
Termcap is an early, human-readable database designed for simplicity and broad compatibility. Terminfo is a later,
An entry might look like: vt100:co#80:li#24:cl=...:cm=.... The exact sequences depend on the terminal. /etc/termcap is usually