Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: screen blanker, curses



On Mon, Aug 16, 1999 at 07:23:25PM +0200, Ignatios Souvatzis wrote:
> On Mon, Aug 16, 1999 at 12:12:44PM +0100, Lars Hecking wrote:
> > Ignatios Souvatzis writes:
> > > On Fri, Aug 13, 1999 at 11:24:55AM +0100, Lars Hecking wrote:
> > > > 
> > > >  I am looking for a console screen blanker. Is there one for NetBSD?
> > > 
> > > If you are using NetBSD/amiga, NetBSD/sun3 or NetBSD/sparc:
> > > man screenblank
> >  
> >  Neither man page nor rc.conf mention amiga. Just sun3 and sparc.
> > 
> >  When I try to run it without option it tells me (and rightly so)
> >  that there is no /dev/fb. When I try to run it with -f /devb/grf3,
> >  I get an error that /dev/wskbd0 (or something similar; I don't have
> >  the error in front of me) cannot be found.
> 
> The latter would be a bug, probably introduced lately... "back then" 
> I used screenblank myself on Amiga.
> 
> Please look up the error and report via send-pr.

So, I looked at this myself, and found that:

- recently, wscons support was added to screenblank(8).
- on machines that might have FBIO, it is tested at run time whether the
  FBIOCGVIDEO ioctl works (which returns the current screenblank state).
- Amiga simulates only the FBIOCSVIDEO ioctl, so screenblank(8) assumes
  we have a wscons machine, and tries to open the wscons mouse and keyboard
  devices.

I added FBIOCGVIDEO support for Amiga in NetBSD-current.
If you want screenblank in 1.4 or 1.4.1, you'll find a kernel patch in
ftp.netbsd.org:/pub/NetBSD/arch/amiga/misc/screenblank.patch

Regards,
        -is



Home | Main Index | Thread Index | Old Index