ttyrec is a tty recorder. ttyplay is a tty player.