public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] stripping escape sequences from build logs
@ 2012-09-01 22:39 William Hubbs
  2012-09-01 22:41 ` Diego Elio Pettenò
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: William Hubbs @ 2012-09-01 22:39 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

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


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] stripping escape sequences from build logs
  2012-09-01 22:39 [gentoo-dev] stripping escape sequences from build logs William Hubbs
@ 2012-09-01 22:41 ` Diego Elio Pettenò
  2012-09-01 23:08 ` Michał Górny
  2012-09-03 15:43 ` Brian Dolbec
  2 siblings, 0 replies; 4+ messages in thread
From: Diego Elio Pettenò @ 2012-09-01 22:41 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

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/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] stripping escape sequences from build logs
  2012-09-01 22:39 [gentoo-dev] stripping escape sequences from build logs William Hubbs
  2012-09-01 22:41 ` Diego Elio Pettenò
@ 2012-09-01 23:08 ` Michał Górny
  2012-09-03 15:43 ` Brian Dolbec
  2 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2012-09-01 23:08 UTC (permalink / raw
  To: gentoo-dev; +Cc: williamh

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] stripping escape sequences from build logs
  2012-09-01 22:39 [gentoo-dev] stripping escape sequences from build logs William Hubbs
  2012-09-01 22:41 ` Diego Elio Pettenò
  2012-09-01 23:08 ` Michał Górny
@ 2012-09-03 15:43 ` Brian Dolbec
  2 siblings, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2012-09-03 15:43 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

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>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-03 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-01 22:39 [gentoo-dev] stripping escape sequences from build logs William Hubbs
2012-09-01 22:41 ` Diego Elio Pettenò
2012-09-01 23:08 ` Michał Górny
2012-09-03 15:43 ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox