-
Notifications
You must be signed in to change notification settings - Fork 1
/
ansi2txt.1
48 lines (46 loc) · 1.12 KB
/
ansi2txt.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH "ansi2txt" 1
.SH NAME
ansi2txt \- Translates vt100 codes into readable text (or html)
.SH SYNOPSIS
.B ansi2txt
[OPTION] [INPUT FILE]
.B ansi2html
[OPTION] [INPUT FILE]
.SH 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.
.SH OPTIONS
.TP
.B \-w WIDTH
If specified the output rendering screen will be limited to WIDTH
characters wide.
.TP
.B \-h HEIGHT
If specified the output rendering screen will be limited to HEIGHT
character rows, overflow will overprint.
.TP
.B \-rv
Reverse video
.TP
.B \-html
Output as html
.TP
.B \-txt
Output as text
.TP
.B \-refresh secs
In html mode add <meta http-equiv="refresh" content="secs"> to <head>
.TP
.B \-v
Version
.TP
.B \--help
Displays usage information
.SH 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.