trecs_terminal now records a terminal properly (no emacs/vim)