From 569c6a8eda957ba93206aab029082de086eb77f4 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 18 Mar 2004 21:07:54 +0000 Subject: [PATCH] Fixed a nasty old bug where a visual bell in the currently active VTY prevented waking up processes waiting for the output queue to get free on other VTYs. In collaboration with: Vsevolod Lobko MFC after: 1 week --- sys/dev/syscons/syscons.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 69ab21ff412..b3a3f09b312 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1355,7 +1355,8 @@ scstart(struct tty *tp) u_char buf[PCBURST]; scr_stat *scp = SC_STAT(tp->t_dev); - if (scp->status & SLKED || scp->sc->blink_in_progress) + if (scp->status & SLKED || + (scp == scp->sc->cur_scp && scp->sc->blink_in_progress)) return; s = spltty(); if (!(tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP))) { -- 2.45.2