[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ?
From:       Thomas Dickey <dickey () his ! com>
Date:       2014-12-09 9:10:09
Message-ID: 7932144.56345245.1418116209332.JavaMail.root () his ! com
[Download RAW message or body]

----- Original Message -----
> From: "Erik Trulsson" <Erik.Trulsson.1013@student.uu.se>
> To: "Thomas Dickey" <dickey@his.com>
> Cc: "Kirk McKusick" <mckusick@mckusick.com>, "FreeBSD Hackers" \
> <freebsd-hackers@freebsd.org>, jkh@freebsd.org,
> "Garrett Cooper" <yaneurabeya@gmail.com>
> Sent: Tuesday, December 9, 2014 3:39:21 AM
> Subject: Re: Reason for reordering /usr/share/misc/termcap.src for \
> /usr/share/misc/termcap ?
> 
> Quoting Thomas Dickey <dickey@his.com>:
> 
> > ----- 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?
> 
> If you want to see an absolutely enormous version of termcap.src you
> can look at the one found inside
> https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz
> 

That's generated from ncurses (using the option to avoid multiple "tc=" clauses.
It's also rather old, unmaintained and as such a nuisance on occasion.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic