[TUHS] termcap vs terminfo (was: I swear! I rtfm'ed)

Steffen Nurpmeso sdaoden at yandex.com
Sat Jan 3 06:12:58 AEST 2015


Warner Losh <imp at bsdimp.com> wrote:
 |> On Jan 1, 2015, at 9:21 AM, Johnny Billquist <bqt at update.uu.se> wrote:
 |> On 2015-01-01 17:11, Mary Ann Horton<mah at mhorton.net> wrote:
 |>> 
 |>> The move was from termcap to terminfo.  Termlib was the \
 |>> library for termcap.

 |>> But the big motivator was performance.  Reading in a termcap entry from
 |>> /etc/termcap was terribly slow.  First you had to scan all the way

 |BSD solved this problem that way: parse /etc/termcap and put \
 |all the entries into termcap.db. :)

I like the current approach of FreeBSD: having a super-minimalized
version in /etc and a completely outdated (compared to the termcap
that Thomas Dickey maintains) stale version in /usr/share.

--steffen



More information about the TUHS mailing list