Eitan Adler 51c834c490 top(1): reimplement header formatting as sbuf
The current header formatting is a giant format string that changes
global state during the format process.

Make the following changes:
- use sbuf to build up the header rather than use the above
pseudo-dynamic one
- Change name length to 10
- Reduce size of RES and SIZE by making humanize more aggressive
- Restore a version number line to the copyright. This may be required
by the copyright (and may not be; its unclear)

This is also a pre-req to implementing TOPCOLOR from newer versions of
top(1)

Discussed with:	allanjude, rpolka, danfe, rgrimes
Differential Revision: https://reviews.freebsd.org/D15801
2018-06-22 09:21:01 +00:00
..
2018-06-13 08:52:22 +00:00
2018-06-04 04:59:32 +00:00
2018-05-19 22:40:23 +00:00
2018-06-14 12:14:51 +00:00
2018-06-22 00:02:36 +00:00
2018-06-12 07:31:59 +00:00
2018-06-13 08:52:22 +00:00
2018-06-03 05:20:11 +00:00
2018-06-13 08:52:09 +00:00