1. a2h(1)
  2. Bcat 0.5.0
  3. a2h(1)

NAME

a2h - convert ANSI/VT100 escape sequences to HTML

SYNOPSIS

a2h [-] [file...]

DESCRIPTION

The a2h utility reads from standard input, or one or more files, and converts ANSI/VT100 escape sequences to inline HTML.

ESCAPE SEQUENCES

The following escape sequences are supported:

<ESC>[0m
Resets all attributes / closes all HTML tags.
<ESC>[1m=<b>
Bold.
<ESC>[4m=<u>
Underscore.
<ESC>[5m=<blink>
Blink. Really.
<ESC>[8m=<span style='display:none'>
Hidden.
<ESC>[30-37m=<span style='color:color>
Foreground color.
<ESC>[40-47m=<span style='background-color:color>
Background color.
<ESC>[90-97m=<span style='color:color>
Light foreground colors.
<ESC>[100-107m=<span style='background-color:color>
Light background color.

SEE ALSO

ansi2html.sh, HTML::FromANSI

  1. Ryan Tomayko
  2. June 2010
  3. a2h(1)