logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

termrec - a tty recorder

Description

Termrec is a tty recorder; it can record the output of any text mode program which you can then replay
       with termplay, ttyplay, ipbt, ttyplayer, nh-recorder, asciinema or similar.

       If outfile ends in .gz, .xz, .bz2 or .zst, the data will be appropriately compressed.

       If no outfile is given, termrec will produce a name like 2008-11-27.13-02-42.ttyrec.bz2

       You can write directly to some remote URLs, such as tcp://host:port but that's usually of little use.

   Options:-fformat, --format
           You can specify a format other than ttyrec.  Those available are:

           ansi
               No timing data.  This is same as the output of script(1).

           ttyrec
               Compatible with ttyrec by Satoru Takabayashi.

           nh-recorder
               Compatible with nh-recorder by Helge Dennhardt.

           asciicast
               Compatible with asciinema by Marcin Kulik; format v2.

           asciicast-v1
               Likewise, format v1.

       -ecommand, --exec
           Runs a command instead of spawning a shell and records its output.

       -r, --raw
           Inhibits  noting  info  about your terminal size and UTFness.  This data is usually a good thing, but
           can confuse some programs.  Also note that none of the formats provides a way to mark  which  exactly
           charset you use -- only if it's UTF-8 or one of ancient ones.

       -a, --append
           If the output file exists, it will be appended instead being overwritten.

       -h, --help
           Shows a short explanation of parameters.

Environment

       SHELL
           Unless  -e is given, this will be the shell spawned, falling back to /bin/sh if not set.  On Windows,
           COMSPEC is used instead.

Name

       termrec - a tty recorder

See Also

termplay(1), termtime(1), termcat(1).

0.19                                               2024-04-01                                         TERMREC(1)

Synopsis

termrec [-fformat] [-ecommand] [outfile]

See Also