Skip to content

uobikiemukot/recterm

Repository files navigation

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

About

read key sequence and convert shell output into animation gif directly (internally emulate almost vt102 compatible terminal)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published