top | item 10562477

(no title)

ejp | 10 years ago

I haven't had occasion to use it in anger, but I keep doitlive[0] in my back pocket for such things. 'Live' typing, but repeatable and working each time.

[0] http://doitlive.readthedocs.org/en/latest/

discuss

order

bazzargh|10 years ago

Well, that just records the commands, the output can still change, internet connections fail, etc. I have a tool I wrote for some internal presentations that uses the dumps from ttyrec to play back everything in response to random input.

Here you go: https://gist.github.com/bazzargh/a267b97a52f7a1f70c46

Rather than use a single dump, this expects multiple dumps, allowing you to treat them as slides, and preventing you overrunning after each command. It also lets you rewind & replay if needed.

For the demo I did with this, I recorded figlet commands printing large bullet pointy things for the bits where I didn't want to show code, and cat'd ascii art for endpages.