![cover image](https://wikiwandv2-19431.kxcdn.com/_next/image?url=https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Termapi.svg/640px-Termapi.svg.png&w=640&q=50)
Terminfo
Concept in computer programming / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Terminfo?
Summarize this article for a 10 year old
Terminfo is a library and database that enables programs to use display terminals in a device-independent manner. Mary Ann Horton implemented the first terminfo library in 1981–1982 as an improvement over termcap.[1] The improvements include
- faster access to stored terminal descriptions,[citation needed]
- longer, more understandable names for terminal capabilities and
- general expression evaluation for strings sent to the terminal.
![Thumb image](http://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Termapi.svg/320px-Termapi.svg.png)
Terminfo was included with UNIX System V Release 2 and soon became the preferred form of terminal descriptions in System V, rather than termcap (which BSD continued to use).[2] This was imitated in pcurses in 1982–1984 by Pavel Curtis, and was available on other UNIX implementations, adapting or incorporating fixes from Mary Horton.[3] For more information, refer to the posting on the comp.sources.unix
newsgroup from December 1986.[4]
A terminfo database can describe the capabilities of hundreds of different display terminals. This allows external programs to be able to have character-based display output, independent of the type of terminal.
Some configurations are:
- Number of lines on the screen
- Mono mode; suppress color
- Use visible bell instead of beep