FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 09-01-2012, 10:39 PM
William Hubbs
 
Default stripping escape sequences from build logs

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
 
Old 09-01-2012, 10:41 PM
Diego Elio Pettenò
 
Default stripping escape sequences from build logs

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
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/
 
Old 09-01-2012, 11:08 PM
Michał Górny
 
Default stripping escape sequences from build logs

On Sat, 1 Sep 2012 17:39:13 -0500
William Hubbs <williamh@gentoo.org> 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
 
Old 09-03-2012, 03:43 PM
Brian Dolbec
 
Default stripping escape sequences from build logs

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 <dolsen@gentoo.org>
 

Thread Tools




All times are GMT. The time now is 04:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org