++ed by:
PERLANCAR HMA
3 non-PAUSE users
Author image יובל קוג'מן (Yuval Kogman)

NAME

ansi2html - Convert ANSI sequence to HTML

SYNOPSIS

ansi2html [ -p -f -c ] [ infile ] [ outfile ]

DESCRIPTION

This script takes one input file containing text with ANSI sequences, and outputs the converted HTML code into another file.

If outfile is omitted, it defaults to STDOUT. If infile is omitted, it defaults to STDIN.

Note that this script will automatically set the fill_cols option to 1, filling empty columns with space characters.

If the -p option is specified, it will print HTML header and footers.

If the -f option is specified columns will not be filled.

If the -c option is specified the cursor will be shown.

SEE ALSO

HTML::FromANSI

AUTHORS

Audrey Tang <audreyt@audreyt.org>

COPYRIGHT

Copyright 2001, 2002 by Audrey Tang <audreyt@audreyt.org>.

Copyright 2007 by Yuval Kogman <nothingmuch@woobling.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html