Date: Mon, 8 Dec 2014 10:21:31 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: Mark Peek <mp@FreeBSD.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org, Garrett Cooper <ngie@FreeBSD.org>, Ian Lepore <ian@FreeBSD.org> Subject: Re: svn commit: r275601 - projects/building-blocks Message-ID: <CE8E81F4-D80F-479F-8D63-771B1CE8E2C9@gmail.com> In-Reply-To: <5485D8B5.90604@FreeBSD.org> References: <201412080743.sB87h3j9044019@svn.freebsd.org> <1418054094.1064.147.camel@revolution.hippie.lan> <5485D8B5.90604@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <mp@FreeBSD.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE8E81F4-D80F-479F-8D63-771B1CE8E2C9>