uobikiemukot / recterm

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:GNU General Public License v3.0


Languages

Language:Objective-C 96.9%Language:C 3.0%Language:C++ 0.0%Language:Makefile 0.0%