>In my previous post regarding this problem, I said that "screenblank" ignores
>keyboard or mouse input when "xlock" is running. It turns out that "xlock" is
>irrelevant -- after blanking the screen, "screenblank" ignores keyboard and
>mouse events regardless of what else is running.
What seems to have changed in 2.3 is the way poll() is called
by the X-server. Solaris 2.[0-2] xnews and the MIT R5 server all
call poll with a non-negative value as second argument.
Screenblank calls poll with -1 as second argum,ent.
The Solaris 2.3 Xsun (OW 3.3 Xsun) calls poll with a second argument
of -1 as well. For some reason, the kernel doesn't wake
screenblank up anymore (not until you hit return a couple
of time). I haven't tested the MIT R5 server on 2.3 yet,
but it could be that to calls of the form poll( ... , -1)
are the cause of the problem. (Or this can be seen as a kernel bug).
Or work-around is to disable screen blank when X is running.
(try to bind to port 6000, if it fails, X is running and
don't blank.)
Casper