disable depends on TTY