It is widely used for example in the NetHack community for storing game replays.
Recorders and players
- original ttyrec (Unix)
- Term::TtyRec (Perl)
- Term::TtyRec::Plus (Perl)
- Tie::Handle::TtyRec (Perl)
- termrec (Win32, Unix)
Technical file format specification
Each chunk consists of a header using 32bit unsigned little-endian numbers:
- sec – seconds, either since the beginning of the recording (0-based) or since the Unix epoch
- usec – 0..999999 microseconds
- len – length of the payload
The format doesn't contain any information about the character set used nor about the terminal size needed to play back the file. termrec will inject this information as \e%G for UTF-8 or \e%@ for not UTF-8 and as \e[8;Y;Xt for size, but not all players will understand these codes.
- "Ttyrec: A tty recorder".
- "1KB: Software/Termrec".
- "IPBT: A high-tech ttyrec player for Unix".
- "Archived copy". Archived from the original on 2006-06-21. Retrieved 2006-07-06.CS1 maint: archived copy as title (link)
- "#68556 - [patch] adding timings to script - Debian Bug report logs".