find which tty is available