Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 1998 12:02:37 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Mikael Karpberg <karpen@ocean.campus.luth.se>
Cc:        hackers@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: kld screensavers 
Message-ID:  <199811030302.MAA01789@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Sun, 01 Nov 1998 14:13:36 %2B0100." <199811011313.OAA21309@ocean.campus.luth.se> 
References:  <199811011313.OAA21309@ocean.campus.luth.se> 

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

>According to Doug Rabson:
>> Thats more or less what I was suggesting.  Simple screen savers wouldn't
>> even need an event handler.  Maybe something like:
>[suggestion removed]
>
>While this is being discussed, I'd like to bring something up that I've
>wanted for a long time, and brought up before. Why not make to so that
>each screensaver register itself with a timeout, a priority and a flag
>that says if it's fallthrough or not? That way you can have multiple
>screensavers installed, and they get called as approriate.
>
>I haven't looked at the current code, I'm affraid, so go easy on me.
>Example:
>
>Three screensavers:  (say default prio is 5)
>
>lock:     prio 1, 10 minutes, fallthrough  (Demands password to release screen
>)
>green:    prio 4, 20 minutes               (Turn screen off)
>stars:    prio 5, 5 minutes                (Twinkle, twinkle, little star)
[...]

I am not sure if we want to have this kind of screen saver stack.  It
will complicate things a lot: multiple saver module management,
priority management, flag checking...  Is this worth the effort?

If you want to lock the vty with password, you can always use
`lock(1)'.  And it is easy to modify screen savers, `start' or
whatever, and add them the ability to turn off the display after set
period (the screen saver can check system time when it is called
periodically); it will be far easier than implementing the screen
saver stack thingy.

Just my two cents.

Kazu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811030302.MAA01789>