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
This commit is contained in:
Ruslan Ermilov 2004-03-18 21:07:54 +00:00
parent b483c7f6e2
commit 200c238e95

View File

@ -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))) {