nanogui: silkscreen buttons, GrCloseWindows


Previous by date: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, CCYau
Next by date: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, Alex Holden
Previous in thread: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, CCYau
Next in thread: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, Alex Holden

Subject: Re: silkscreen buttons, GrCloseWindows
From: "CCYau" ####@####.####
Date: 16 Nov 2000 02:39:55 -0000
Message-Id: <005401c04f76$f3f30860$f47168ca@server>

Alex,
    Thanks. I have put the piece of code in the nxkbd.c similiar to npanel.c
but the Z state remains.
    I have used execvp in invoking the nxkbd, is that related?
CC

----- Original Message -----
From: Alex Holden ####@####.####
To: Morten Rolland ####@####.####
Cc: CCYau ####@####.#### ####@####.####
Sent: Wednesday, November 15, 2000 9:27 PM
Subject: Re: silkscreen buttons, GrCloseWindows


> On Wed, 15 Nov 2000, Morten Rolland wrote:
> > The problem with a process in the Z state is that you need to use
>
> Ah, I missed that bit because the original message was all on one line and
> ran off the end of the screen.
>
> Put something like this in the parent program (cut & pasted from npanel):
>
> #include <signal.h>
> #include <sys/wait.h>
> void reaper(int signum) { while(waitpid(WAIT_ANY, NULL, WNOHANG) > 0); }
> Somewhere in your initialisation routine:
> signal(SIGCHLD, &reaper);
>
> What this does is calls waitpid() to reap the dead children when it gets a
> SIGCHLD signal (triggered whenever a child exits).
>
> --
> ------- Alex Holden -------
> http://www.linuxhacker.org/
>  http://www.robogeeks.org/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>


Previous by date: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, CCYau
Next by date: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, Alex Holden
Previous in thread: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, CCYau
Next in thread: 16 Nov 2000 02:39:55 -0000 Re: silkscreen buttons, GrCloseWindows, Alex Holden


Powered by ezmlm-browse 0.20.