Added ttyrec