svn commit: r275601 - projects/building-blocks

Garrett Cooper yaneurabeya at gmail.com
Mon Dec 8 18:21:34 UTC 2014


On Dec 8, 2014, at 8:58, Mark Peek <mp at 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20141208/8e7added/attachment.sig>


More information about the svn-src-projects mailing list