So what’s ttryrec ?
From the official page:
ttyrec is a tty recorder.
Recorded data can be played back with the included ttyplay command.
ttyrec is just a derivative of script command for recording timing information with microsecond accuracy as well.
It can record emacs -nw, vi, lynx, or any programs running on tty.
Ttyrec invokes a shell and records the session until the shell exits. Recorded data can be played back with ttyplay. If the argument file is given, the session will be recorded in that file. Otherwise, ttyrecord is used as default.
ttyrec it’s available in Ubuntu and Debian so you can install it with:
aptitude install ttyrec
ttyrec [-a] [-u] [-e command] [file]
The -a options is used to “append” the output to “file” and the option -e is used to specify the command to invoke when ttyrec starts.
You’ll not notice anything, and you can work normally, but when you’ll exit from that shell you’ll have a new ttryrecord file with your session recorded there.
In the package there is also the command ttyplay a player of the tty session recorded by ttyrec.
an interesting option of ttyplay it’s “-s n”, multiple the playing speed by n (default is 1).
Example of ttyplay with improved speed:
I must admd that ttyrec it’s really easy to use and could be useful to register your tutorial or to save a tty session..or why not, your best Nethack performance.
- Linux Terminal: Manage Processes with killall and kill
- Play your Music on Linux with Music Player Daemon
- How to measure memory usage in Linux
Find me on Google+