Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: escape sequences in logs
Date: Tue, 03 Sep 2013 04:24:20
Message-Id: CAATnKFB8UTQUcmhJNOHd-jvRh2HeW1WwM6qQqwfetoGr9ud55Q@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: escape sequences in logs by Richard Yao
1 On 3 September 2013 16:17, Richard Yao <ryao@g.o> wrote:
2
3 > I admit that it is annoying
4 > to view them in a web browser where the escape characters are not
5 > parsed, but that is easily resolved at the terminal
6 >
7
8
9 You could plausibly also have a filter in bugzilla that detects escape
10 codes in the log, and adds a display link that routes to a page rendered
11 through `ansifilter -H` , similar to how we have a diff formatter for
12 patches.
13
14 I'm not sure the exact layers of glue required to make that viable in
15 bugzilla, but it doesn't seem impossible.
16
17
18 --
19 Kent
20
21 perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
22 for ( 9,8,0,7,1,6,5,4,3,2 );"
23
24 http://kent-fredric.fox.geek.nz