Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 1.82 KB

README.md

File metadata and controls

89 lines (62 loc) · 1.82 KB

recterm

description

                          +----------------+
  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.

configuration

edit conf.h

$ vi conf.h

for details, please refer README of yaft

install

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

usage

$ recterm

(default output file: recterm.gif)

or

$ recterm output.gif

tools

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)

related program

  • seq2gif (by saitoha) convert a ttyrec record into a gif animation directly (fork of recterm, using yaft's terminal emulation)

license

GPLv3

Copyright (c) 2012 haru