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.
(In the executed shell, do whatever you want and exit)
% ttyrec -e command
(command specified by -e option will be executed)
% ttyplay ttyrecord
-s2 option makes the playback speed doubled. With -p option, you can peek another person's ttyrecord in real time. Have fun!
You can change the speed while playback by the following key strokes.
* "+" or "f" to speed up the playback twice
* "-" or "s" to speed down the playback twice
* "1" to change the playback to the normal speed