Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2013 09:28:37 -0500
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@freebsd.org
Cc:        Chris Rees <crees@FreeBSD.org>, Yuri <yuri@rawbw.com>
Subject:   Re: Why the port build log file has terminal escape sequences?
Message-ID:  <82.AA.08887.5147E015@smtp01.insight.synacor.com>

next 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

A config dialog could also cause something like this but would normally be
more severe.


Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82.AA.08887.5147E015>