Mercurial > tips
changeset 2466:ebbf146d86c1
Option for recording with Screen from CLI option.
author | Oleksandr Gavenko <gavenkoa@gmail.com> |
---|---|
date | Sat, 21 Nov 2020 21:55:33 +0200 |
parents | 1f5e1b2e8db1 |
children | 0498f0cc9966 |
files | terminal.rst |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/terminal.rst Sat Nov 21 21:49:42 2020 +0200 +++ b/terminal.rst Sat Nov 21 21:55:33 2020 +0200 @@ -85,8 +85,11 @@ ``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 ``C-a H`` to start a recording Output will be saved into the file -``screenlog.0``. +in Cygwin: + +* start with option ``-L``, long format looks like: ``screen -L -Logfile my.log bash`` +* or just push key ``C-a H`` to start a recording Output will be saved into the file + ``screenlog.0``. With ``script`` utility::