Looks up an entry in the database. The name is most likely to be taken from the $TERM environment variable. Some massaging of the entry is done to amend with capabilities and support reasonable fallbacks.
Adds an entry to the database. This should be called by terminal descriptions.
Represents a database of terminal entries, indexed by their name.