dsynth - pty CRs, readelf, better log formatting
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 23 Aug 2019 23:06:59 +0000 (16:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 24 Aug 2019 00:02:07 +0000 (17:02 -0700)
commita574cbf0776dcaa58c1afa1bb55140bd34067f99
treed370397f00d4477a3499adce8a86b53b0121797b
parent294990e56ec8cb87fb2159b3581a19fa74b77b78
dsynth - pty CRs, readelf, better log formatting

* Remove CR's from build logs (set tty modes on the pty).

* Parse 'readelf -x .note.tag /bin/sh' to get the operating
  system and __DragonFly_version... basically the release name.
  Compare the operating system name against what we get back
  from the system as a validator.

* Improve the log format to make it more readable.  Certain elements such
  as statistics and times are right-justified.

* Filter certain log lines from stdout when curses mode is turned off.

* Highlight stdout lines for SUCCESS in green and FAILURE and red.
usr.bin/dsynth/build.c
usr.bin/dsynth/config.c
usr.bin/dsynth/dsynth.c
usr.bin/dsynth/dsynth.h
usr.bin/dsynth/mount.c
usr.bin/dsynth/status.c
usr.bin/dsynth/subs.c