Capture terminal session.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Nov 2020 21:47:57 +0200
changeset 2463 2d7b8b7ebd48
parent 2462 9b3b29e0b467
child 2464 721211645861
Capture terminal session.
terminal.rst
--- a/terminal.rst	Tue Nov 17 19:49:45 2020 +0200
+++ b/terminal.rst	Sat Nov 21 21:47:57 2020 +0200
@@ -77,21 +77,34 @@
 
   $ luit -encoding 'ISO 8859-1' emacs -nw
 
-Capture terminal session.
-=========================
+Capture terminal session
+========================
+
+``stript`` & ``ttyrec`` record byte streams together with timestamps.
 
-Use ``script`` utility::
+``stript`` & ``ttyrec`` are not avaialble in Cygwin.
+
+GNU Screen is capable to log terminal output to a file (literary, without timestamps) and available
+in Cygwin. Just push key ``L`` to start a recording Output will be saved into
+the file ``screenlog.0``.
+
+With ``script`` utility::
 
   $ script out.file
   sh# ....
   ^d
-  $ cat out.file
-  ...
+  $ less out.file
+
+Wikipedia articles:
 
-Installing terminal utilities.
-==============================
+* https://en.wikipedia.org/wiki/Ttyrec
+* https://en.wikipedia.org/wiki/Script_(Unix)
+
+Installing terminal utilities
+=============================
 
 For Cygwin::
 
-  $ setup.exe -p ncurses
+  setup.exe -p ncurses
+  apt-cyg install ncurses