Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 16:10:53 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hackers@FreeBSD.org
Subject:   Re: Hang your machine with ScrollLock
Message-ID:  <Pine.BSF.3.91.961126154551.1605A-100000@panda.hilink.com.au>
In-Reply-To: <199611260210.NAA20353@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 26 Nov 1996, Bruce Evans wrote:

> >> > > As soon as I hit the scroll-lock key, everything was fine-
> >> > > all of the uptime processes completed, and name serving
> >> > > went on as usual.
> >> 
> >> I belive this to be fixed in what was 2.2-current long ago...
> 
> Nope.  There is no bug to fix.  Scroll lock says to stop output, so the
> tty buffer fills up after a while and the tty driver sleeps on "ttywri".
> 
> Workaround: `comcontrol /dev/console drainwait 10' times out the sleep
> after 10 seconds.  write() returns -1/EIO or a short count.  Applications
> may be confused by this.  EIO normally means hangup.

Would it be possible to put a timeout on the scroll lock, such that after 
10 minutes the state is toggled back to 'off'?

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961126154551.1605A-100000>