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. -- Ciprian Popovici -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html
