[4469] in SIPB bug reports
Re: Mosaic and sigdanger on Aix
daemon@ATHENA.MIT.EDU (svalente@MIT.EDU)
Sun Mar 13 03:26:32 1994
From: svalente@MIT.EDU
Date: Sun, 13 Mar 1994 03:26:16 -0500
To: ckclark@MIT.EDU
Cc: bug-sipb@MIT.EDU
In-Reply-To: "[4417] in SIPB bug reports"
> Mosaic should have a signal handler for SIGDANGER on AIX. That way,
> when you run low on swap space, instead of dying, it can bring up a
> dialog box like this:
>
> Yo! You're hosing this
> machine. Shall I go
> away?
> _______ ___________________
> | | | Nah, |
> | OK | | Live Dangerously |
> |_____| |__________________|
Done. It's installed as Mosaic-BETA in outland, it should move to
sipb sometime at Chad's disgression.
It's been tested by artificially sending it SIGDANGERs. I haven't yet
tested it by actually running out of memory, but I assume it won't be
so happy to remain running when there's no memory left as it has been
under the test conditions. Oh well.
I used your exact text. If it was up to me, the message would be
something like "Running low on memory. Exit now?" I'd also use "No"
instead of "Nah" (but leave the "Live Dangerously". I have to change
the button text somewhat in order to demonstrate my Motif knowledge
and wizardry. :-)
But, it's not up to me since I didn't send in the bug report. :-)
Have a nice day.
-Sal.
P.S. For anyone who cares, my changes are all RCS checked in, in the
Mosaic-2.2 source tree. The changed files are gui-dialogs.c, main.c,
and mosaic.h.