To record keystrokes to a file

To Play back a file

{program} -t {filename}