Date: Fri, 8 Feb 2013 19:16:35 +0000 From: Chris Rees <crees@FreeBSD.org> To: 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: <CADLo838V9kLkUK-vLh%2B_NLCM=zOqt5TiHfn=ryN0_yp2V88BqA@mail.gmail.com> In-Reply-To: <510F45F0.5050205@rawbw.com> References: <510DE42F.40207@rawbw.com> <CADLo83_Ckvc9JsLkWG-e7PoV5_7uf256Me843w_Wdcf87nLNZA@mail.gmail.com> <510F45F0.5050205@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 February 2013 05:24, Yuri <yuri@rawbw.com> wrote: > 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. > Best check it really is a cmake bug, but it wouldn't go amiss. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838V9kLkUK-vLh%2B_NLCM=zOqt5TiHfn=ryN0_yp2V88BqA>