stub tty