colors from waf => crap in log files

Eric S. Raymond esr at
Sun Nov 6 01:45:38 UTC 2016

Hal Murray <hmurray at>:
> waf likes fancy colors.
> >From build -v, it prints "runner" in red.  You end up with things like this:
> 18:10:51 ^[[35mrunner^[[0m ['/usr/bin/bison', '-d', '--debug', 
> '/home/murray/ntpsec/play/ntpd/ntp_parser.y', '-o', '']
> But I don't get them in a log file made by a script.  Does anybody understand that area?
> The script tee-s to a log file, but doing that by hand still got colors.

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c COLORS, --color=COLORS

You can turn them off.
		<a href="">Eric S. Raymond</a>

More information about the devel mailing list