Capture terminal session.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Aug 2011 12:10:29 +0300
changeset 926 25c9a1591ba1
parent 925 43765268ec50
child 927 c43baeec3a0e
Capture terminal session.
terminal.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/terminal.rst	Sun Aug 14 12:10:29 2011 +0300
@@ -0,0 +1,60 @@
+-*- coding: utf-8; -*-
+
+Spec.
+=====
+
+  http://en.wikipedia.org/wiki/C0_and_C1_control_codes
+  http://en.wikipedia.org/wiki/ECMA-48
+                ANSI escape sequences
+
+Old hardware terminal.
+======================
+
+VT102.
+------
+
+VT100 is a video terminal that was made by Digital Equipment Corporation (DEC). It was introduced in
+August 1978. Its detailed attributes became the de facto standard for terminal emulators.
+
+The control sequences used by the VT100 family are based on the ANSI X3.64 standard, later ECMA-48
+and ISO/IEC 6429.
+
+The VT101 and VT102 were cost-reduced non-expandable follow-on products, with the VT102 including
+the AVO and serial printer port options of the VT100.
+
+In 1983, the VT100 was replaced by the more-powerful VT200 series terminals such as the VT220.
+
+  http://en.wikipedia.org/wiki/VT102
+
+VT220.
+------
+
+  http://en.wikipedia.org/wiki/VT220
+
+X window pseudo terminal.
+=========================
+
+luit.
+-----
+
+Luit is a filter that can be run between an arbitrary application and a UTF-8
+terminal emulator. It will convert application output from the locale's
+encoding into UTF-8, and convert terminal input from UTF-8 into the locale's
+encoding.
+
+Example::
+
+  $ luit -encoding 'ISO 8859-1' emacs -nw
+
+Capture terminal session.
+=========================
+
+Use *script* utility::
+
+  $ script out.file
+  sh# ....
+  ^d
+  $ cat out.file
+  ...
+
+