So I spent a little bit of time tonight tinkering on Linux. I got interested in tty recording/playback after seeing some nethack things. I figured if I could find something that works well for playback of tty recordings it would be helpful on my blog. Enter: jsttyplay
Here’s a demo of how to get things setup, including making a video and editing the HTML to play it.
I plan to start work on making a WordPress plugin for this so I can embed these a bit easier. Here’s a screenshot of what the player looks like (using jsttyplay):
If you don’t have ttyrec, install it with your system’s package manager; in my case, I have Debian so I will use apt-get.
apt-get install ttyrec
Create a recording of your console by executing
ttyrec. When you’re finished, just type
exit. In the same directory you’ll find a
ttyrecord file. This is the file you will use as the binary data for jsttyplay (
git clone https://encryptio.com/git/jsttyplay.git). There is a
test.html file included in the git repo that you can hack up and modify line line 33 to point to the path of your