ttyrec messed up terminal too much