Article View: comp.mail.mush
Article #948Re: Mushtool coredumps on Click-Right on COMPOSE button
From: Barton E. Schaefer
Date: Sat, 16 Dec 1989 03:38
Date: Sat, 16 Dec 1989 03:38
56 lines
2560 bytes
2560 bytes
In article <2215@prune.bbn.com> rsalz@bbn.com (Rich Salz) writes:
} Bring up Mushtool 7.1 on a Sun3/50 running SunOS3.5. Click left on
} the COMPOSE button, then in the compose window click right on COMPOSE
} to get help. Instead get a core dump:
What follows is an UNOFFICIAL, TENTATIVE patch for this problem. I can't
test it, but if any of you running SunOS 3.5 would care to try it out and
let me know what happens, perhaps we can get an official fix going.
*** /tmp/,RCSt1010215 Fri Dec 15 19:05:52 1989
--- execute.c Fri Dec 15 12:42:48 1989
***************
*** 66,72 ****
--- 66,76 ----
{
print("Starting \"%s\"...\n", *argv);
msg_rect = *(Rect *)window_get(msg_sw, WIN_RECT);
+ #ifdef ALERT_ATTR /* SunOS 4.0+ */
window_set(msg_sw, WIN_SHOW, FALSE, NULL);
+ #else /* ALERT_ATTR */
+ textsw_set(msg_sw, WIN_SHOW, FALSE, NULL);
+ #endif /* ALERT_ATTR */
(void) window_set(tty_sw,
WIN_RECT, &msg_rect,
TTY_ARGV, argv,
*** /tmp/,RCSt1010215 Fri Dec 15 19:06:06 1989
--- misc.c Fri Dec 15 12:45:26 1989
***************
*** 445,455 ****
--- 445,465 ----
NULL);
if (ison(glob_flags, NEW_FRAME)) {
turnoff(glob_flags, NEW_FRAME);
+ #ifdef ALERT_ATTR /* SunOS 4.0+ */
window_set(window_get(sw, TEXTSW_CLIENT_DATA),
WIN_SHOW, TRUE,
FRAME_NO_CONFIRM, TRUE,
FRAME_DONE_PROC, window_destroy,
NULL);
+ #else /* ALERT_ATTR */
+ textsw_set(window_get(sw, TEXTSW_CLIENT_DATA),
+ WIN_SHOW, TRUE,
+ NULL);
+ window_set(window_get(sw, TEXTSW_CLIENT_DATA),
+ FRAME_NO_CONFIRM, TRUE,
+ FRAME_DONE_PROC, window_destroy,
+ NULL);
+ #endif /* ALERT_ATTR */
}
if (unlink(file) == -1)
error("Cannot unlink %s", file);
--
Bart Schaefer "Miserable miscreant! Question MY integrity, will you?"
"I have to see some *evidence* of it before I can question it."
-- Calvin & Hobbes
schaefer@cse.ogi.edu (used to be cse.ogc.edu)
Technical Details
Message-ID:
<6226@ogicse.ogc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ogicse!schaeferReferences:
<2215@prune.bbn.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ogicse!schaefer From: schaefer@ogicse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: Mushtool coredumps on Click-Right on COMPOSE button Message-ID: <6226@ogicse.ogc.edu> Date: 16 Dec 89 03:38:09 GMT References: <2215@prune.bbn.com> Reply-To: schaefer@ogicse.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 56