Date: Sun, 3 Feb 2013 11:13:04 +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: <CADLo83_Ckvc9JsLkWG-e7PoV5_7uf256Me843w_Wdcf87nLNZA@mail.gmail.com> In-Reply-To: <510DE42F.40207@rawbw.com> References: <510DE42F.40207@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 February 2013 04:14, Yuri <yuri@rawbw.com> wrote: > I redirect the log into the file: portupgrade -a 2>&1 | tee portupgrade.log > However, log still has escape sequences as if it was printed to the > terminal: > ^[[0m^[[34m^[[1mGenerating moc_mainwindow.cpp^M > ^[[0m^[[34m^[[1mGenerating subscriptionlistdelegate.moc^M > ^[[0m^[[34m^[[1mGenerating knconfigwidgets.moc^M > ^[[0m^[[34m^[[1mGenerating previewdialog.moc^M > ^[[34m^[[1mGenerating entriescountdialog.moc^M > > I believe this started not long ago. > What is wrong? I guess this is a cmake/clang port? Cmake, clang and several other tools give colorised output. This is achieved with escape sequences. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_Ckvc9JsLkWG-e7PoV5_7uf256Me843w_Wdcf87nLNZA>