Re: [gentoo-dev] stripping escape sequences from build logs

2012-09-03 Thread Brian Dolbec
On Sat, 2012-09-01 at 17:39 -0500, William Hubbs wrote:
> All,
> 
> I find the included escape sequences to be annoying when I am reading a
> build log.
> 
> Is there a way to strip these?
> 
> Thanks,
> 
> William
> 

Porthole's terminal strips most of them, processes some.  It also does
message filtering and highlighting for warnings, errors, and an emerge
process summary.  The filtered messages are also double click-able to
bring you to the exact spot in the log.  Making it easy to find the
errors.  The filtered messages can also be easily configured (well, if
you can do python reg expressions ;).  It can load build logs for
viewing, "Actions" ==> "Open Emerge Log" menu items in portholes main
window.  It also has dynamic automatic line wrapping, so resizing the
window reformats the viewed text. 

P.S. It did message filtering long before portage got the capability.
-- 
Brian Dolbec 


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] stripping escape sequences from build logs

2012-09-01 Thread Michał Górny
On Sat, 1 Sep 2012 17:39:13 -0500
William Hubbs  wrote:

> All,
> 
> I find the included escape sequences to be annoying when I am reading
> a build log.
> 
> Is there a way to strip these?

I think the 'easy' way is to view them using 'less'. Not sure if it
will work for you.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] stripping escape sequences from build logs

2012-09-01 Thread Diego Elio Pettenò
On 01/09/2012 15:39, William Hubbs wrote:
> 
> I find the included escape sequences to be annoying when I am reading a
> build log.
> 
> Is there a way to strip these?

I had that problem — you can find my script that does that (as well as
other stuff) at https://github.com/gentoo/tboxanalysis

-- 
Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] stripping escape sequences from build logs

2012-09-01 Thread William Hubbs
All,

I find the included escape sequences to be annoying when I am reading a
build log.

Is there a way to strip these?

Thanks,

William



pgp5HadawgmHT.pgp
Description: PGP signature