On Sat, 14 Aug 2004 16:15:43 +0300 Ciprian Popovici <[EMAIL PROTECTED]> wrote:
> On Fri, 13 Aug 2004 09:30:33 -0600 Dave Serls <[EMAIL PROTECTED]> > wrote: > > I'm not a C++ programmer, but I've pretended (badly) to be one in the > > past. I've a patch for blackbox 0.65 which gives some support for > > 'epilogue' code to be executed when blackbox is asked to terminate. If a > > non-zero exit code is given by the epilogue code, blackbox should not > > exit and should use xmessage to display some reason. I use it to prevent > > exit when certain apps are still running under the wm. > > Not to belittle your work, but wouldn't it be simpler to make the X session > depend on something else than Blackbox? I have a shell script which runs > Blackbox if you're interested. When Blackbox crashes the script can restart > it or try some alternatives. The rest of the applications won't have to > crash too. Ciprian -- Thanks for your reply. I'm not sure that I've explained the problem adequately. I'm not worried about blackbox crashing; that almost never happens. The patch uses the brace-delimited string on the [exit] statement of the menu to run some script/program which tries to disallow the exit if certain applications (sylpheed-claws is one) are still running. I want to be reminded to close those apps correctly before I end the session. -- ************************************************************************ * Dave Serls Littleton, CO, USA * * dashs.denver.co.us sorrybiscuit.com * ************************************************************************ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
