+----------------+
input: key sequence --> |outside terminal| --> drawing screen
+----------------+
| ^
v |
+-------+
|recterm| --> output: animation gif
+-------+
| ^
v |
+---------------+
|pseudo terminal|
+---------------+
| ^
key sequence v | terminal escape sequence
+-----+
|shell|
+-----+
This program is based on yaft.
edit conf.h
$ vi conf.h
for details, please refer README of yaft
before using recterm, you should install terminfo of yaft.
$ wget https://raw.githubusercontent.com/uobikiemukot/yaft/develop/info/yaft.src
$ tic yaft.src
then type make
.
$ make
$ recterm
(default output file: recterm.gif)
or
$ recterm output.gif
rec : the alternative of ttyrec (using valid terminal escape sequence only)
rec2gif : convert record of rec into gif
recfilter : read key sequence from stdin/pipe and convert shell output into gif (non interactive version of recterm)
- seq2gif (by saitoha) convert a ttyrec record into a gif animation directly (fork of recterm, using yaft's terminal emulation)
GPLv3
Copyright (c) 2012 haru