How to produce an animated gif
Step 1: Record a terminal session
$ ttyrec myrecording.tty
Ctrl+d when finished.
Step 2: Convert .tty file to a series of gifs
Make sure that tty2gif is on your
$ tty2gif typing myrecording.tty
Replays each keypress and takes a screenshot. Don't touch the terminal whilst this is running!
Step 3: Combine gifs into single file
$ convert -delay 10 -loop 0 step*.gif -delay 500 $(ls -1 step*.gif | tail -1) -layers Optimize final.gif
Step 4: Tidy up
final.gif to something more meaningful. Remove all
step*.gif files. Add link in