Index: sys/kern/subr_terminal.c =================================================================== --- sys/kern/subr_terminal.c +++ sys/kern/subr_terminal.c @@ -635,24 +635,26 @@ static void termteken_respond(void *softc, const void *buf, size_t len) { -#if 0 struct terminal *tm = softc; struct tty *tp; /* * Only inject a response into the TTY if the data actually * originated from the TTY. - * - * XXX: This cannot be done right now. The TTY could pick up - * other locks. It could also in theory cause loops, when the - * TTY performs echoing of a command that generates even more - * input. */ tp = tm->tm_tty; if (tp == NULL) return; ttydisc_rint_simple(tp, buf, len); + + /* + * XXX: This cannot be done right now. The TTY could pick up + * other locks. It could also in theory cause loops, when the + * TTY performs echoing of a command that generates even more + * input. + */ +#if 0 ttydisc_rint_done(tp); #endif }