On Mon, 25 Apr 2005 21:02:15 +0300 Ciprian Popovici <[EMAIL PROTECTED]> wrote:
> On Sun, 24 Apr 2005 06:37:34 -0600 Dave Serls <[EMAIL PROTECTED]> > wrote: > > X 101: > > What signal is sent to applications when the window manager terminates > > normally? SIGTERM? > > > > Is any time given between the signal and the master process terminating? > > > > Asking because sylpheed terminates cleanly when done by a console > > SIGTERM, but not when I terminate blackbox. This leaves corrupt mbox > > meta data. > > > > Thanks for any info (if I can grok it). > > I suspect it doesn't have to do directly with the window manager. When the > wm dies, X is the one that terminates applications. I believe you can > devise a simple shell script using the `trap` Bash builtin command to > determine what signal it receives. Although if you say Sylpheed seems to > die a messy death, a SIGKILL may already be suspected. > I liked the idea of executing an epilogue script to allow/disallow blackbox termination based on a check of running clients. I suppose I can write a 'shutbb' script that makes the checks and SIGTERMs blackbox if nothing important is outstanding. -- ************************************************************************ * Dave Serls Littleton, CO, USA * * dashs.denver.co.us sorrybiscuit.com * ************************************************************************ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html
