Subject: Pine dumping core

From: Jeff Traigle <[email-masked]>
Date: Thu, 24 Feb 1994 17:05:57 -0500 (EST)

I run Pine from an xterm with the following line in my .xinitrc on Suns 
running SunOS 4.1.3:

/usr/local/x11r5/bin/xterm -geometry 87x24--1-8 -e pine &

Every time I quit Pine in this case, it dumps core. Anybody else notice 
this behavior? Know what's causing it?

--
+-----------------------------------------------------------------------------+
|                                 Jeff Traigle                                |
|                             Systems Administrator                           |
+-----------------------------------------------------------------------------+
|  University of Michigan               University of Michigan                |
|  College of Pharmacy                  Biophysics Research Division          |
|  Pharmacy Building, Room 1033         Chemistry Building, Room 3080         |
|  Ann Arbor  MI 48109                  Ann Arbor  MI 48109                   |
+-----------------------------------------------------------------------------+
|  [email-masked]                    Pager: (313) 617-8793                 |
+-----------------------------------------------------------------------------+

---

From: David L Miller <[email-masked]>
Date: Thu, 24 Feb 1994 14:38:33 -0800 (PST)

Jeff,

Try the following in your .xinitrc:

 /usr/local/x11r5/bin/xterm -geometry 87x24--1-8 -e pine.sh &

pine.sh:

	#!/bin/sh
	pine
	sleep 1

This gets around a timing race that currently occurs with Pine run in a 
Sun xterm.

Thanks for the report!

--DLM

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing
4545 15th Ave NE, Seattle WA 98105, USA

---

From: "Jason R. Thorpe" <[email-masked]>
Date: Thu, 24 Feb 1994 16:19:07 -0700 (PDT)

> /usr/local/x11r5/bin/xterm -geometry 87x24--1-8 -e pine &

Your xterm has to sleep to give pine a chance to exit...

Do this...

/usr/local/x11r5/bin/xterm -geometry 87x24--1-8 -e xpine.csh &

-----xpine.csh-----
#!/bin/csh -f
/usr/local/bin/pine
sleep 2

Hope it helps...

Later...

-----------------------------------------------------------------------------
Jason R. Thorpe                [email-masked]                   737-9533
OSU CS Support                    CSWest Room 12                     737-2552
      'These are my opinions and not necessarily those of anyone else.'