🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #567

Problems with 7.2.0 under SunOS 4.0.3c

#567
From: Andrew Patrick
Date: Wed, 07 Nov 1990 15:41
32 lines
2028 bytes
I have patched my program to 7.2.0 and have run into a number of
problems.  I am running it on a Sun 4/65 (Sparcstation 1+) running
SunOS 4.0.3c.  I am using an unmodified makefile.sun (except for the
install locations) which means that SUN_4_0 will be taken as the
default.

First, mushtool dumps core (IOT trap) whenever I compose or reply to a
message.  The fix needed is to change the following lines in doproc.c:

In do_compose() and respond_mail():

#ifdef SUN_4_0
	/* Panel panel = (Panel)window_get(compose_frame, FRAME_NTH_WINDOW, 1); */
	Panel panel = (Panel)window_get(compose_frame, FRAME_NTH_WINDOW, 0);
#else
	Panel panel = (Panel)window_get(compose_frame, FRAME_NTH_WINDOW, 0);
#endif /* SUN_4_0 */

That is, make the last argument 0 with or without SUN_4_0 defined.

Second, there seems to be now way not to use the compose_icon feature.
That is, what if I want to have the compose window go away when I am
finished sending a letter.  Once a compose window has been created and
closed to an icon, quiting that window also causes the whole Mushtool
to quit with a "mushtool:  hangup" message.  Even if this is fixed,
there should be an option in the compose window to either close to an
icon or quit, while leaving mushtool running.
-- 
Andrew Patrick, Ph.D.       Department of Communications, Ottawa, CANADA
               andrew@calvin.doc.CA    andrew@doccrc.BITNET
        HDTV:  higher resolution, improved colour, wider screen,
            "sit-com" reruns.  What's wrong with this picture?
Technical Details
Message-ID: <1990Nov7.154146.21669@rick.doc.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ncs.dnd.ca!dgbt!rick.doc.ca!calvin.doc.ca!andrew

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ncs.dnd.ca!dgbt!rick.doc.ca!calvin.doc.ca!andrew
From: andrew@calvin.doc.ca (Andrew Patrick)
Newsgroups: comp.mail.mush
Subject: Problems with 7.2.0 under SunOS 4.0.3c
Summary: dumps core and can't quit compose window
Message-ID: <1990Nov7.154146.21669@rick.doc.ca>
Date: 7 Nov 90 15:41:46 GMT
Sender: news@rick.doc.ca
Organization: Communications Research Centre, Ottawa
Lines: 32
Nntp-Posting-Host: calvin.doc.ca