Code: Select all
#get required packages
sudo apt-get install imagemagick ttyrec build-essential gcc
# get tty to gif converter
git clone https://github.com/icholy/ttygif.git
# build it
cd ttygif
make
Code: Select all
# change to a tty
# ttyrec -e <command> -a <output-file>
ttyrec -e emacs -a emacs_tutorial_1
# it will record until you explicitly exit the shell or press Ctrl-D
Code: Select all
./ttygif emacs_tutorial_1 -f
./concat.sh emacs_tutorial.gif
4) share: in the HOWTOs section, post a new thread and tag it with [TTY]. You can attach .gif files when using the "Full Editor". Anything in a terminal can be recorded, even emacs, vi, links2 etc.