author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 21 Sep 2010 00:08:51 +0300 | |
changeset 531 | 52ec271a920a |
parent 521 | 788f01356dbc |
child 735 | 5c437e2d5fe1 |
permissions | -rw-r--r-- |
123 | 1 |
-*- outline -*- |
2 |
||
521 | 3 |
* Spec. |
4 |
||
5 |
http://en.wikipedia.org/wiki/C0_and_C1_control_codes |
|
6 |
http://en.wikipedia.org/wiki/ECMA-48 |
|
7 |
ANSI escape sequences |
|
8 |
||
520
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
9 |
* Old hardware terminal. |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
10 |
|
521 | 11 |
** VT102. |
520
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
12 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
13 |
VT100 is a video terminal that was made by Digital Equipment Corporation (DEC). It was introduced in |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
14 |
August 1978. Its detailed attributes became the de facto standard for terminal emulators. |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
15 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
16 |
The control sequences used by the VT100 family are based on the ANSI X3.64 standard, later ECMA-48 |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
17 |
and ISO/IEC 6429. |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
18 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
19 |
The VT101 and VT102 were cost-reduced non-expandable follow-on products, with the VT102 including |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
20 |
the AVO and serial printer port options of the VT100. |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
21 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
22 |
In 1983, the VT100 was replaced by the more-powerful VT200 series terminals such as the VT220. |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
23 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
24 |
http://en.wikipedia.org/wiki/VT102 |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
25 |
|
521 | 26 |
** VT220. |
520
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
27 |
|
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
28 |
http://en.wikipedia.org/wiki/VT220 |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
29 |
|
123 | 30 |
* X window pseudo terminal. |
31 |
||
32 |
** luit. |
|
33 |
||
34 |
Luit is a filter that can be run between an arbitrary application and a UTF-8 |
|
520
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
35 |
terminal emulator. It will convert application output from the locale's |
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
36 |
encoding into UTF-8, and convert terminal input from UTF-8 into the locale's |
123 | 37 |
encoding. |
38 |
||
39 |
Example: |
|
40 |
||
520
1315a2434fc8
Old hardware terminal.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
123
diff
changeset
|
41 |
$ luit -encoding 'ISO 8859-1' emacs -nw |