From owner-svn-src-projects@FreeBSD.ORG Mon Dec 8 18:21:34 2014 Return-Path: Delivered-To: svn-src-projects@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 07E8E901; Mon, 8 Dec 2014 18:21:34 +0000 (UTC) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C2229C8D; Mon, 8 Dec 2014 18:21:33 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id fp1so5261969pdb.5 for ; Mon, 08 Dec 2014 10:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=GrmgWX5T9YTx/uLLuMnO4HJ4DAFIHkgg4itQXUnkZKA=; b=FwmN6JEtGdZrEX0tdE0+6KZ4iCxHAnybur3qLyC0nKGJm02cO4caldH6pYdGTHbZnz Ye0CONRvFRT9b/PGh7+N27Ryedk98fkUxF06ZhVpfGsCpr+rEWysOG9NlI2NDREGVdf2 vUE72fiL7TBsPqGrHRJ9VIZSN1hSpWFNIviTCs3s7Em/JuOytH81TXIirLGCI7X9G+u3 wptP3baULSu9OKrnaTIMJ0PMns1UqEKAcLz6BzYTDjW1qsfyaBtV42xahEQ//VW40WYC 5bmT/MQLdEYYQBD+Fg58CVWvt0LRZmMz1lipIo3eqMArKG1pfYjDYbNnnDZVIl/wi2BE 7TUw== X-Received: by 10.70.52.98 with SMTP id s2mr23101120pdo.5.1418062893297; Mon, 08 Dec 2014 10:21:33 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:819d:7b8f:c98b:9d2c? ([2601:8:ab80:7d6:819d:7b8f:c98b:9d2c]) by mx.google.com with ESMTPSA id vy1sm37294007pac.20.2014.12.08.10.21.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Dec 2014 10:21:32 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_BC656DAA-FE5F-4069-8615-01AB0BB3B243"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r275601 - projects/building-blocks From: Garrett Cooper In-Reply-To: <5485D8B5.90604@FreeBSD.org> Date: Mon, 8 Dec 2014 10:21:31 -0800 Message-Id: References: <201412080743.sB87h3j9044019@svn.freebsd.org> <1418054094.1064.147.camel@revolution.hippie.lan> <5485D8B5.90604@FreeBSD.org> To: Mark Peek X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org, Garrett Cooper , Ian Lepore X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 18:21:34 -0000 --Apple-Mail=_BC656DAA-FE5F-4069-8615-01AB0BB3B243 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Dec 8, 2014, at 8:58, Mark Peek wrote: > On 12/8/14 7:54 AM, Ian Lepore wrote: >> On Mon, 2014-12-08 at 07:43 +0000, Garrett Cooper wrote: >>> Author: ngie >>> Date: Mon Dec 8 07:43:02 2014 >>> New Revision: 275601 >>> URL: https://svnweb.freebsd.org/changeset/base/275601 >>>=20 >>> Log: >>> - Document why usr.bin/vi needs to be built as part of = bootstrap-tools > >> ...snip... >>=20 >> Is there any chance someone who understands vi could evaluate what = it's >> being used for and perhaps eliminate it? I know just enough about vi = to >> get out of it if I accidentally get in. >>=20 >> When I looked into this a few days ago it appears to be using it to = sort >> the data before compiling (an optimization that problably hasn't been >> important to do since the 90s). Could another existing build tool = such >> as awk do the job? >=20 > My reading of that code agrees with yours in that it is using 'ex' to = prioritize some terminal entries in the termcap file. However, it is = then hashed into a berkeleydb via cap_mkdb which should render the = initial prioritization useless. Rather than rewriting it I would suggest = completely removing the reordering and the ex dependency. That=92s what Erik and Kirk said in this hackers thread I just posted: = https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.h= tml . I=92ll continue the discussion there. Thanks! --Apple-Mail=_BC656DAA-FE5F-4069-8615-01AB0BB3B243 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUhewrAAoJEMZr5QU6S73eP8AIAJvnEZV1AcNuDrTGT3HdbN3w nIzl7UnClCC/n9CTC1MnBBLTBuDoFEdtOCqJO7G+Rb3V+PXgBDkTJx5JF/+zEqQU QCV0OEif+cP4Io5XiKA2Na+tY8mlPiAWmyLbj+8X5zvlzL2eWzIsYUUDtKPqtt0X 68MIfjZwmQyq93O/A8rXyWLoathc/D+hWsMLDdIMQVOrwHAw8JaVXghZ0cg+Upwg fiF/C7w+Ww05i+Ymkm9UuObzPVQtyGWELhezzcEBRD+8KKL3/qjPCorngGUhFCvS ug7JMPqi53xyl2VMs2uMUtFPHzOYJpLmrQKuKiXNwpPN3yAOWZQL3MlfZJsoyJw= =Qmw+ -----END PGP SIGNATURE----- --Apple-Mail=_BC656DAA-FE5F-4069-8615-01AB0BB3B243--