A terminal text recorder and play