Subject: Pine 3.90 used with xterm

From: "<[email-masked]>" <[email-masked]>
Date: Mon, 29 Aug 1994 12:02:09 -0300 (ADT)

I am running the pre-compiled Sun version of Pine 3.90 under SunOS 4.1.3 
by starting an xterm:
xterm -e pine
The xterm opens with pine, everything seems to function, but when I exit 
pine, and the xterm closes, it leaves me with a core-dump... every time.

I do not get a core-dump when starting any other application in the xterm 
(such as "xterm -e pico file"), nor do I get it when I start the xterm 
separately (ie without the "-e command". 

Should I ftp the source and compile my own version? or is this not at all 
a pine issue?

Robert W. Creighton, P.Eng.    E-Mail: [email-masked]
Sr. System Design Engineer     Voice: (902) 428-6877
Nova Scotia Power, Inc	       Fax:   (902) 428-6118
P.O. Box 910
Halifax, NS, CANADA
B3J 2W5

---

From: Kenny Wickstrom <[email-masked]>
Date: Mon, 29 Aug 1994 14:06:21 -0500 (CDT)

> Should I ftp the source and compile my own version? or is this not at all 
I have the same setup, but I used the source.  The result is the same.  I 
get a core file everytime I exit pine when started using:
	xterm -e pine

I don't get a core if I start the xterm and then from a prompt I start pine.

---------------------------------------------------------------------------
|/     |  |
|\enny |/\|ickstrom ([email-masked])
========                        
   //    ___   \\___   ==\\     ||         \\__    ___   1405 Lake Cook Rd.
   //   // \\  ||---\   _||    _||  \\  // ||--\\ // \\  Deerfield, IL 60015
   //   =====  ||     // ||  // ||   \\//  ||  || =====  (708)940-9000
   //   \\___  ||     \\_/\_ \\_/\_   //   ||  || \\___  (708)940-0344(FAX)
   Telecommunications Division       //
                                   _//

---

From: [email-masked] (Michael Sargent)
Date: 31 Aug 1994 05:04:29 GMT

>I don't get a core if I start the xterm and then from a prompt I start pine.

the way we got around the problem was to add

#ifdef SUN
	signal(SIGHUP,SIG_DFL);
#endif

before the 
#ifdef DEBUG
    fclose(debugfile);
#endif    

in the quit_screen procedure of pine.c

Sarge
--
--
I think I saw my signature somewhere in Chile
I have been searching for it for quite a while		[email-masked]