I don't understand why it doesn't work with a colorizer such as grc.
Once grc is installed and activated, it will add a bunch of aliases to your environment, such as alias ip="colourizer ip" which colorizes the output of ip addr like so:
Yet, neither ansi2html, aha, nor ansi2html.sh are able to process these ansi color codes, and their html output just has boring plain text. Example from a 2nd machine:
Any idea why? The colors from ls are captured just fine. In fact, grc will add color to the other columns of ls -l:
Yet, ansi2html ignores the color added by grc while still parsing the color (and links!) added by ls:
I don't understand why it doesn't work with a colorizer such as grc.
Once grc is installed and activated, it will add a bunch of aliases to your environment, such as
alias ip="colourizer ip"
which colorizes the output ofip addr
like so:Yet, neither ansi2html, aha, nor ansi2html.sh are able to process these ansi color codes, and their html output just has boring plain text. Example from a 2nd machine:
Any idea why? The colors from
ls
are captured just fine. In fact, grc will add color to the other columns ofls -l
:Yet, ansi2html ignores the color added by grc while still parsing the color (and links!) added by ls:
Weird!