Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 17:06:42 -0500 (EST)
From:      Thomas Dickey <dickey@his.com>
To:        Kirk McKusick <mckusick@mckusick.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Erik Trulsson <Erik.Trulsson.1013@student.uu.se>, Garrett Cooper <yaneurabeya@gmail.com>, jkh@freebsd.org
Subject:   Re: Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ?
Message-ID:  <1479779318.56241253.1418076402148.JavaMail.root@his.com>
In-Reply-To: <201412081651.sB8GpbpO088722@chez.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
| From: "Kirk McKusick" <mckusick@mckusick.com>
| To: "Garrett Cooper" <yaneurabeya@gmail.com>
| Cc: "Erik Trulsson" <Erik.Trulsson.1013@student.uu.se>, "FreeBSD Hackers" <freebsd-hackers@freebsd.org>,
| jkh@freebsd.org, dickey@his.com
| Sent: Monday, December 8, 2014 11:51:37 AM
| Subject: Re: Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ?
...
| 
| I believe Erik Trulsson's answer is correct. Termcap had grown very
| large and on sub-1-MIP computers took a noticable delay to read on
| every startup of programs using it. So, it was reordered to reduce
| the startup time on common terminals. As Erik points out this
| optimization
| is no longer necessary as termcap is now placed in a database. Not to
| mention that there are far fewer entries in it today than there were
| at the peak of its existence.

Actually, the current file in the repository is 10% longer (4667 lines vs 4007) than the first check-in.
Where might I find a larger example (of BSD termcap) such as you are referring to?

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1479779318.56241253.1418076402148.JavaMail.root>