Why the port build log file has terminal escape sequences?

Yuri yuri at rawbw.com
Mon Feb 4 05:24:01 UTC 2013


On 02/03/2013 03:13, Chris Rees wrote:
> I guess this is a cmake/clang port?  Cmake, clang and several other
> tools give colorised output.  This is achieved with escape sequences.

I understand about colorized output.
But aren't such tools normally expected to turn colors off when run not 
in terminal?
This is achieved by checking isatty (ttyname(3)).
Probably I should file such PR to cmake. This might be a regression there.

Yuri


More information about the freebsd-ports mailing list