forked from MarkLodato/vt100-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
54 lines (41 loc) · 1.41 KB
/
TODO
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
49
50
51
52
53
54
Testing
=======
* 10-19: ESC quirks, CSI quirks
* 30-39: CHA, HPA, VPA
* 40-49: RIS, DECSTR (how does this affect alternate screen buffer?)
* 50-59: DECSEL, DECSED
* 60-69: DECSC with attributes, modes, etc.
* 90-99: alternate screen buffer
* 100-109: modes
* 200+: SGR
* 300+: DCS, SOS, OSC, PM, APC
* test HTML output (new framework needed?)
Commands To Implement
=====================
* Modes: DECCOLM, DECSCNM, DECOM
* Selective erase: DECSEL, DECSED
* DEC Rectangular Area: DECCARA, DECRARA
* save/restore DEC private modes
* OSC command to configure the 256 xterm colors.
* Alternate fonts / character sets?
Options
=======
* 8-bit mode?
* 88- vs 256-color
* 8-color vs 16-color
* Non xterm?
* Ability to print alternative screen buffer
Output
======
* Xterm keeps track of long lines so that you can select wrapped lines as a
single line. This is not possible for text output, but it might be in HTML.
It is possible to set the ``pre``\ 's style to wrap using the following::
pre {
white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) */
word-wrap: break-word; /* IE 5.5+ */
}
However, I'm not sure how to specify that there should be exactly 80 (or
whatever) columns. Also, this would require some tracking of wrapping.