Termcap
From Hackepedia
termcap is a huge collection of screen control mappings to different manufacturers of terminals. Because back when producers of terminals disagreed on what should refresh a screen for example the programmers of UNIX terminal servers managed a large capability file that would remap a common clear screen to the proper screen codes on whichever terminal.
The file is found in /etc/termcap most likely but also in /usr/share/misc/termcap.