In the last episode (Nov 07), Dag-Erling Smorgrav said:
> Graham Wheeler <[EMAIL PROTECTED]> writes:
> > I am trying to write a screen saver module that, when it kicks in,
> > will switch to the first console, and then, if a key is pressed,
> > will switch back to the one that was previously active. The idea is
> > that the first console has something useful running on it,
> > typically a tail -f of the logs.
>
> Switching consoles causes syscons to stop the screensaver, which
> causes your code to try to switch back to the original console, which
> causes syscons to stop the screensaver since seems to be running. In
> other words, Don't Do That. Sorry.
You can make it look like you're switched to vty 0, by making your
screen_saver() function simply copy the contents of vty 0 to screen
memory on every update. Just make sure both vtys are the same size
first...
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message