ttyrec utility for parsing ttyrecord