[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Bug-gnubg] A possible simplification of signals

From: Christian Anthon
Subject: Fwd: [Bug-gnubg] A possible simplification of signals
Date: Tue, 27 Jun 2006 14:31:01 +0200

On 6/27/06, Øystein Johansen <address@hidden> wrote:

I'm browsing many parts of the gnubg code these days, searching for things to 
clean up.

I've found a thing that's been in GNU backgammon for ages. signals. GNU 
Backgammon uses signals to handle some interrupts for interprocess comm. (Do we 
need that at all?) and for handling playing of sounds, and for handling of 
shell escapes at the command prompt with a leading '!' (which doesn't work on 
win32 systems anyway.)

To handle signals there's some wrappers written, PortableSignal and 

Three things should work when we are done (in order of importance):
sounds, external and python escapes. I see no particular need for

Is it safe to remove this stuff? We could handle shell escapes with glib's 
g_spawn functions, (maybe it will work on windows as well?), sounds can be 
handeled by a sound library (esd?), and interrupts I believe we won't need? Am 
I missing something?

gaim uses libao, which is platform independent. Gaim is where sound.c
originates from, so possibly that would be a good choice for us as


reply via email to

[Prev in Thread] Current Thread [Next in Thread]