allow tty to be set