From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 9 09:10:18 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C1F0153 for ; Tue, 9 Dec 2014 09:10:18 +0000 (UTC) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.251.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1BABE622 for ; Tue, 9 Dec 2014 09:10:17 +0000 (UTC) Received: from cuda201.his.com (cuda201.his.com [216.194.248.226]) by smtp-nf-201.his.com (Postfix) with ESMTPS id E310962545 for ; Tue, 9 Dec 2014 04:10:15 -0500 (EST) X-ASG-Debug-ID: 1418116214-061c414fbe1b10f20001-P5m3U7 Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.248.252]) by cuda201.his.com with ESMTP id fj3dIvbznEgnfzrG; Tue, 09 Dec 2014 04:10:14 -0500 (EST) X-Barracuda-Envelope-From: dickey@his.com X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.252 Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by smtp-nf-202.his.com (Postfix) with ESMTP id C900F60081; Tue, 9 Dec 2014 04:10:14 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id A7FD73F80004; Tue, 9 Dec 2014 04:10:13 -0500 (EST) X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.141 X-Virus-Scanned: amavisd-new at mail-sterling.his.com Received: from mail-sterling.his.com ([127.0.0.1]) by localhost (mail-sterling.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I2zQtC4awZbs; Tue, 9 Dec 2014 04:10:10 -0500 (EST) Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by mail-sterling.his.com (Postfix) with ESMTP id 1B1F03F80003; Tue, 9 Dec 2014 04:10:10 -0500 (EST) Date: Tue, 9 Dec 2014 04:10:09 -0500 (EST) From: Thomas Dickey To: Erik Trulsson Message-ID: <7932144.56345245.1418116209332.JavaMail.root@his.com> In-Reply-To: <20141209093921.10896xgn8zvjhbuh@webmail.uu.se> Subject: Re: Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ? MIME-Version: 1.0 X-ASG-Orig-Subj: Re: Reason for reordering /usr/share/misc/termcap.src for /usr/share/misc/termcap ? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [71.178.218.187] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Mac)/7.2.6_GA_2926) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.248.252] X-Barracuda-Start-Time: 1418116214 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi Received-SPF: pass (his.com: domain of dickey@his.com designates 216.194.248.141 as permitted sender) X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12649 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Mailman-Approved-At: Tue, 09 Dec 2014 12:48:52 +0000 Cc: Kirk McKusick , FreeBSD Hackers , Garrett Cooper , jkh@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 09:10:18 -0000 ----- Original Message ----- | From: "Erik Trulsson" | To: "Thomas Dickey" | Cc: "Kirk McKusick" , "FreeBSD Hackers" , jkh@freebsd.org, | "Garrett Cooper" | 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 : | | > ----- Original Message ----- | > | From: "Kirk McKusick" | > | To: "Garrett Cooper" | > | Cc: "Erik Trulsson" , "FreeBSD | > Hackers" , | > | 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 http://invisible-island.net ftp://invisible-island.net