Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2013 21:24:00 -0800
From:      Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Why the port build log file has terminal escape sequences?
Message-ID:  <510F45F0.5050205@rawbw.com>
In-Reply-To: <CADLo83_Ckvc9JsLkWG-e7PoV5_7uf256Me843w_Wdcf87nLNZA@mail.gmail.com>
References:  <510DE42F.40207@rawbw.com> <CADLo83_Ckvc9JsLkWG-e7PoV5_7uf256Me843w_Wdcf87nLNZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510F45F0.5050205>