ansi2txt

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 08 July 2007
Index Return to Main Contents
 

NAME

ansi2txt - Translates vt100 codes into readable text (or html)  

SYNOPSIS

ansi2txt [OPTION] [INPUT FILE]

 

DESCRIPTION

Ansi2txt converts a stream of vt100 (ansi) codes on the stdin into readable text on the stdout. An INPUT file can be specified instead of stdin.

Ansi2html (ansi2txt -html) renders the vt100 codes into a html file that looks quite a lot like your terminal did.  

OPTIONS

-w WIDTH
If specified the output rendering screen will be limited to WIDTH characters wide.
-h HEIGHT
If specified the output rendering screen will be limited to HEIGHT character rows, overflow will overprint.
-rv
Reverse video
-html
Output as html
-txt
Output as text
-refresh secs
In html mode add <meta http-equiv="refresh" content="secs"> to <head>
-v
Version
--help
Displays usage information
 

BUGS

Double height text in html mode only renders the top row, the bottom double height text row is not rendered. Double width is rendered as ordinary characters separated by spaces. Scrolling windows are not implemented.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS

This document was created by man2html using the manual pages.
Time: 16:52:21 GMT, August 28, 2024