Perfectly normal piece of *NIX shell scripting I would have thought, except it looks as though it is generated on a Windows machine because of the ^M part.
(posted this in the scripting forum as well, but figured it should go here) So, what's going on is this:
For our program, we had to create our own shell, and if the user pressed ctrl-c just at the cmdline, then this signal would be ignored, but if there is a foreground process running, let's... (0 Replies)
How can use signals in a C program If i want a child program to signal it's parent program that it(child) program has completed the task that it was assigned.:confused: (2 Replies)
can any one give me an example of a concurrency program in threads and signals, i.e how to deliver messages between threads using signals. thanks (0 Replies)
can any one give me an example of a concurrency program in threads and signals, i.e how to deliver messages between threads using signals. thanks (2 Replies)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (0 Replies)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (1 Reply)
I am having trouble with folowing
sigset_t s; // now s represents set of signals
sigemptyset(&s) ; // initialize this set and exclude all the signals from it.is it empty?
sigaddset(&s,SIGILL);//this set containts only SIGILL signal
sigprocmask(SIG_BLOCK,&s,NULL);//lost on this one
Can... (3 Replies)
I have following problem with this code..
First time trough the main loop.....
perror gives ....blocked signal:success(all other times gives illlegal seek)
Should every time trought the main loop be success??
And the perror otside of main loop...didn't change mask:success
That line of code... (2 Replies)
I know how to add signal to a set. But what if I want to add 2 or 3 signals to the set.
I know I can use sigaddset (&set,SIGBUS)....but what if I want to add SIGBUS and SIGALRM at once. Do i have to do it like this..
sigaddset (&set,SIGBUS);
sigaddset (&set,SIGALRM);
Is there another way to... (0 Replies)
Discussion started by: joker40
0 Replies
LEARN ABOUT CENTOS
xscreensaver-getimage-video
xscreensaver-getimage-video(1) XScreenSaver manual xscreensaver-getimage-video(1)NAME
xscreensaver-getimage-video - put a video frame on the root window
SYNOPSIS
xscreensaver-getimage-video [-display host:display.screen] [--verbose] [--stdout]
DESCRIPTION
The xscreensaver-getimage-video program is a helper program for the xscreensaver hacks that manipulate images. Specifically, it is invoked
by xscreensaver-getimage(1) as needed. This is not a user-level command.
This program grabs a random frame of video from the system's video input, and then loads it on the root window. It does this by figuring
out which frame-grabbing programs are installed on the system, and invoking the first one it finds. Then it runs xscreensaver-getim-
age-file(1) to load that image onto the root window.
OPTIONS
xscreensaver-getimage-video accepts the following options:
--verbose
Print diagnostics.
--stdout
Instead of loading the image onto the root window, write it to stdout as a PBM file.
SEE ALSO X(1), xscreensaver(1), xscreensaver-demo(1), xscreensaver-getimage(1), xscreensaver-getimage-file(1), bttvgrab(1), qcam(1), streamer(1),
atitv(1), vidtomem(1)COPYRIGHT
Copyright (C) 2001 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any
purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
AUTHOR
Jamie Zawinski <jwz@jwz.org>, 14-Apr-01
X Version 11 5.15 (28-Sep-2011) xscreensaver-getimage-video(1)