tty: add vt support
tty:remove redundant code
tty: more fixes
tty: add vt support