Screen saver

While I’m asking questions. Can someone tell me what signal need to be sent to make the saver turn off. I want an app to sit in the background and when events happen, turn off the saver and display an alert.

ben

“Ben Brown” <ben@handcoder.com> wrote in message
news:1104_1006794690@dell02…

While I’m asking questions. Can someone tell me what signal need to be
sent to make the saver turn off. I want an app to sit in the background and

when events happen, turn off the saver and display an alert.

SIGTERM :wink:

ben

Sorry I should have been clearer . I nned to know what signal, and how to send it.

Thanks
ben

On Mon, 26 Nov 2001 13:08:21 -0500, “Mario Charest” <mcharest@clipzinformatic.com> wrote:

“Ben Brown” <> ben@handcoder.com> > wrote in message
news:1104_1006794690@dell02…
While I’m asking questions. Can someone tell me what signal need to be
sent to make the saver turn off. I want an app to sit in the background and
when events happen, turn off the saver and display an alert.

SIGTERM > :wink:


ben

“Ben Brown” <ben@handcoder.com> wrote in message
news:1106_1006800937@dell02…

Sorry I should have been clearer . I nned to know what signal, and how to
send it.

kill ( pid, SIGTERM );

or system ( " slay -sSIGTERM process_name" );

Is that the answer you are looking for?


Thanks
ben

On Mon, 26 Nov 2001 13:08:21 -0500, “Mario Charest”
mcharest@clipzinformatic.com> > wrote:

“Ben Brown” <> ben@handcoder.com> > wrote in message
news:1104_1006794690@dell02…
While I’m asking questions. Can someone tell me what signal need to
be
sent to make the saver turn off. I want an app to sit in the background
and
when events happen, turn off the saver and display an alert.

SIGTERM > :wink:


ben

\

Maybe. Here ya go. I just want to turn off the screen saver. Similar to if I hit a key or moved the mouse. I don’t actually want to kill saver, I want it to continue to running in the backgournd waiting for me to leave it
alone for five minutes.

Thanks
Ben



On Mon, 26 Nov 2001 14:52:28 -0500, “Mario Charest” <mcharest@clipzinformatic.com> wrote:

“Ben Brown” <> ben@handcoder.com> > wrote in message
news:1106_1006800937@dell02…
Sorry I should have been clearer . I nned to know what signal, and how to
send it.


kill ( pid, SIGTERM );

or system ( " slay -sSIGTERM process_name" );

Is that the answer you are looking for?


Thanks
ben

On Mon, 26 Nov 2001 13:08:21 -0500, “Mario Charest”
mcharest@clipzinformatic.com> > wrote:

“Ben Brown” <> ben@handcoder.com> > wrote in message
news:1104_1006794690@dell02…
While I’m asking questions. Can someone tell me what signal need to
be
sent to make the saver turn off. I want an app to sit in the background
and
when events happen, turn off the saver and display an alert.

SIGTERM > :wink:


ben



\