Termscript This program allows you to script terminal interactions and play them This is a work in progress. Patches welcome. How to use $ termscript.py foo.ts Use with asciinema $ asciinema rec rec.json -c 'termscript.py foo.ts'