Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ?

Kirk McKusick mckusick at mckusick.com
Mon Dec 8 22:41:00 UTC 2014


> Date: Mon, 8 Dec 2014 17:06:42 -0500 (EST)
> From: Thomas Dickey <dickey at his.com>
> To: Kirk McKusick <mckusick at mckusick.com>
> Cc: Erik Trulsson <Erik.Trulsson.1013 at student.uu.se>,
>         FreeBSD Hackers <freebsd-hackers at freebsd.org>, jkh at freebsd.org,
>         Garrett Cooper <yaneurabeya at gmail.com>
> Subject: Re: Reason for reordering /usr/share/misc/termcap.src for
>  /usr/share/misc/termcap ?
> X-ASK-Info: Message Queued (2014/12/08 14:06:59)
> X-ASK-Info: Confirmed by User (2014/12/08 14:07:49)
> 
> ----- Original Message -----
> | From: "Kirk McKusick" <mckusick at mckusick.com>
> | To: "Garrett Cooper" <yaneurabeya at gmail.com>
> | Cc: "Erik Trulsson" <Erik.Trulsson.1013 at student.uu.se>, "FreeBSD Hackers" <freebsd-hackers at freebsd.org>,
> | jkh at freebsd.org, dickey at 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 at invisible-island.net>
> http://invisible-island.net
> ftp://invisible-island.net

You are correct that it is now longer that it used to be. I (mistakenly)
thought that the old cruft had been dropped. We can probbly do without
Kaypro and Radio Shack trs-80 and trs100 support to name just three :-)

	Kirk McKusick


More information about the freebsd-hackers mailing list