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
[-- Attachment #1 --] 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 >>> >>> Log: >>> - Document why usr.bin/vi needs to be built as part of bootstrap-tools > >> ...snip... >> >> 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. >> >> 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? > > 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’s what Erik and Kirk said in this hackers thread I just posted: https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.html . I’ll continue the discussion there. Thanks! [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE8E81F4-D80F-479F-8D63-771B1CE8E2C9>
