From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 8 22:15:34 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 6D5EED84 for ; Mon, 8 Dec 2014 22:15:34 +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 2F71C974 for ; Mon, 8 Dec 2014 22:15:33 +0000 (UTC) Received: from cuda201.his.com (cuda201.his.com [216.194.248.226]) by smtp-nf-201.his.com (Postfix) with ESMTPS id 7321462593 for ; Mon, 8 Dec 2014 17:06:48 -0500 (EST) X-ASG-Debug-ID: 1418076407-061c414fbe1ada5c0001-P5m3U7 Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.248.252]) by cuda201.his.com with ESMTP id CWqFmaxvqzEAdNY0; Mon, 08 Dec 2014 17:06:47 -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 73EFA60171; Mon, 8 Dec 2014 17:06:47 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id 4D6A73FB0008; Mon, 8 Dec 2014 17:06:46 -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 D2ssyJrl0HCe; Mon, 8 Dec 2014 17:06:42 -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 3A75F3FF0001; Mon, 8 Dec 2014 17:06:42 -0500 (EST) Date: Mon, 8 Dec 2014 17:06:42 -0500 (EST) From: Thomas Dickey To: Kirk McKusick Message-ID: <1479779318.56241253.1418076402148.JavaMail.root@his.com> In-Reply-To: <201412081651.sB8GpbpO088722@chez.mckusick.com> 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: 1418076407 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.12627 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Mailman-Approved-At: Mon, 08 Dec 2014 23:16:03 +0000 Cc: FreeBSD Hackers , Erik Trulsson , 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: Mon, 08 Dec 2014 22:15:34 -0000 ----- 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? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net