TTYPLAY(1)

πŸ“¦
version 1.1.7.1 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

ttyplay β€” bestie, it's the player for tty sessions that got recorded by ttyrec πŸ’– (this page lives in the General Commands Manual, section 1, just so you know where you are πŸŽ€)


🌸 SYNOPSIS 🌸

ttyplay [-s SPEED] [-n] [-p] file

πŸ¦‹ DESCRIPTION πŸ¦‹

ttyplay plays the tty session sitting inside file, and that file is one that got recorded earlier by ttyrec(1). Like, it's the rewind button on somebody's whole terminal existence πŸ‘‘

When the -p option is in the mix, ttyplay outputs the file as it grows. Which means β€” and this is the iconic part β€” you can literally watch the "live" shell session that another user is running right now. Main character energy, but it's their shell 🫢

Now here's the fun bit: if you hit any key during playback, it jumps right to the next character that got typed. Genuinely so handy when you're examining a session where the user just... sat at a prompt for a million years 😭

And on top of that, there are some special keys defined, and they are lowkey the best part:

  • + or f β€” double the speed of playback. zoom zoom πŸš€
  • - or s β€” halve the speed of playback. slow it down, we're savouring πŸ“
  • 0 β€” set playback speed to 0, pausing playback. full freeze, nobody move πŸ’€
  • 1 β€” set playback to speed 1.0 again. back to normal, we're so back 🌈
  • q β€” quit. bye bestie πŸ’…

πŸ’… OPTIONS πŸ’…

  • -s SPEED β€” multiply the playing speed by SPEED (default is 1). yes, the default is literally just 1, no cap ⭐
  • -n β€” no wait mode. Ignore the timing information in file. it's giving "I don't have time for your pauses" πŸ™ˆ
  • -p β€” peek another person's tty session. respectfully πŸ‘€

πŸŽ€ SEE ALSO πŸŽ€

script(1), ttyrec(1), ttytime(1)


quick vibe check: -p is you watching someone else's live shell, and -n throws the timing data straight in the bin. both are choices and both are iconic in their own way ✨

and that's the whole page, fr fr β€” brought to you by the General Commands Manual, filed under TTYPLAY(1) πŸ’œ go record something with ttyrec and play it back, you deserve it 🧚

πŸ“¦ where this page comes from