Added ttyrecord as a demo