Subject: Delete old sent-mail problem (Pine 3.85 on DYNIX PTX 2.0.4)

From: Dave King <[email-masked]>
Date: Fri, 1 Oct 1993 10:05:35 +0100 (BST)

This morning (1st October) the usual "Delete old sent mail" question 
appeared to take a l-o-n-g time to do it's job, i.e. hang. To overcome 
the problem I used Pine 3.07 to satisfy Pine's requests for dealing with 
previous months' sent-mail files.

I know you're running PTX at Washington, but are you running PTX 2.0.4 and 
had the same problem?

Dave

PS Other than that, Pine is fine!

-------------------------------------------------------------------
Dave King, Admin. Computing Services Manager, University of Bristol
Email: [email-masked]  (JANET)
Email: [email-masked]  (INTERNET)
Tel:   0272 303961 (Direct Line)

---

From: Steinar Haug <[email-masked]>
Date: Fri, 1 Oct 1993 10:49:06 +0100 (MET)

> I know you're running PTX at Washington, but are you running PTX 2.0.4 and 

I had exactly the same problem today, running 3.85 on SunOS 4.1.3 machines.
Seemed to hang forever.

As an aside, I prefer to save old mail for a long time. It would be nice
if Pine did *not* ask if I wanted to delete the old mail folder for *each
and every* sent-mail-xxx-1993 folder I have! Is there any way to avoid these
questions?

Steinar Haug, system/networks administrator
SINTEF RUNIT, University of Trondheim, NORWAY
Email: [email-masked], [email-masked]

---

From: Ed Greshko <[email-masked]>
Date: Fri, 1 Oct 1993 19:53:30 +0800 (TPE)

> and every* sent-mail-xxx-1993 folder I have! Is there any way to avoid these

	I had NO problem with this on a MIPS platform.

Edward M. Greshko			Control Data Taiwan
Voice: +886-2-715-2222 x287		6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197			Taipei, Taiwan R.O.C

---

From: "Michael A. Crowley" <[email-masked]>
Date: Fri, 1 Oct 1993 08:15:18 -0400 (EDT)

.....
> and every* sent-mail-xxx-1993 folder I have! Is there any way to avoid these

Adding a digit in your .pinerc effectively stops it from ever asking
the questions:
--------------------------------------------------------------
# Date last time you were asked about deleting old sent-mail
last-time-prune-questioned=392.8
--------------------------------------------------------------
mike

---

From: Shan Duncan <[email-masked]>
Date: Fri, 1 Oct 1993 09:39:58 -0500 (EST)

On Fri, 1 Oct 1993, Dave King wrote:

> Date: Fri, 1 Oct 1993 10:05:35 +0100 (BST)
> From: Dave King <[email-masked]>
> To: [email-masked]
> Subject: Delete old sent-mail problem (Pine 3.85 on DYNIX PTX 2.0.4)
> 

    Same problem but running on a RS6000 530H and AIX 3.2.4 with each 
question taking longer and longer...

Switched back to 3.07 and had no problems.

----------------------------------------------------------------------------
Dr. Shan Duncan                                [email-masked]
CISAB- Indiana University                     [email-masked]
402 N. Park Ave
Bloomington,  IN.  47405
(812) 855-5895         (812) 855-9663 (main office)    (812) 855-0411 (FAX)
------------------------------------------------------------------------------

---

From: Art Gaer <[email-masked]>
Date: Fri, 1 Oct 1993 11:48:07 -0400 (EDT)

> and every* sent-mail-xxx-1993 folder I have! Is there any way to avoid these

I also had the problem early this morning with it taking *forever* to 
accept my "no" for removing the old sent-mail folders.  I think it 
literally took *minutes* to respond to each keypress.  I never had any 
problem like this under Pine 3.05 and 3.07, perfectly normal response 
time when this question appeared.  This is on a DEC RISC box running 
ULTRIX 4.2A.

Note that I was trapped at 1:00 am when dialing in from home, because at 
the "Delete sent-mail-xxx-1993?" prompt neither Ctrl-C nor Ctrl-Z had any 
effect, these keypresses were just ignored, so I couldn't easily break out 
of the Pine process and rename the folders.  Once I did rename the 
folders (to mail-xxx-1993) everything functioned normally.

I agree that it would be a nice configuration option to have it not ask 
you about removing old sent-mail folders.  I too keep my mail around for 
a long time, and it would be awfully nice to not have to hit Return 20 
times on the first of every month.

----------------------------------------

Art Gaer
Unix Systems Analyst    [email-masked]    (617) 432-2521
Statistical & Data Analysis Center, Dept. of Biostatistics 
Harvard University, School of Public Health

---

From: "Jason R. Thorpe" <[email-masked]>
Date: Fri, 1 Oct 1993 09:48:59 -0700 (PDT)

> I know you're running PTX at Washington, but are you running PTX 2.0.4 and 

We run PTX 2.0.3 on a fairly old S81...No such problem for us...

Later...

------------------------------------------------------------------------------
Jason R. Thorpe          |                           |    434 Weatherford Hall
OSU Computer Science     | [email-masked] |     Corvallis, OR 97331
Support Staff            |                           |          (503) 737-9533

---

From: Michael Seibel <[email-masked]>
Date: Fri, 1 Oct 1993 09:22:08 -0700 (PDT)

As many of you have discovered by now, there is a bug in pine 3.85 that
can cause inordinate delays in the monthly sent-mail pruning.  The bug has
to do with a sleep intended to introduce a *brief* delay before over
writing the message line with a new prompt.  The bug has nothing to do
with the actual pruning itself, and all folders are copied properly (if
you have the patience to wait long enough). 

There are a couple of ways to work around the problem.  As suggested here,
fooling pine into not prompting by editing the .pinerc is one option. 
Setting the "last-time-prune-questioned" variable to "93.10" or deleting
the date altogether should do it.  This is the best fix if the "sent-mail"
folder is part of a remote collection (i.e., the first folder-collection
listed is remote).  The other option, also suggested here, is to run an
older pine version to handle the pruning. 

Attached is the diff for the fix that will be in the pine 3.86 maintenance
release next week.  It takes a much less "sophisticated" approach to
figuring out any necessary delay.  We'll also take a look at options for
turning off the pruning in general. 

My sincerest apologies for any problems this has caused. 

Michael Seibel
Networks and Distributed Computing              [email-masked]
University of Washington, Seattle               (206) 543 - 0359

*** status.c.old	Fri Sep 24 12:21:05 1993
--- status.c	Fri Oct  1 09:34:42 1993
***************
*** 549,568 ****
      register int  ch, real_line;
      char         *q, *p, **ll;
      int           cursor_moved, max_label;
-     long          now, diff, queue_time;
  
      /*----
         Give the user time to see the status message that was
        just put up if there was one.
        ----*/
!     queue_time = messages_queued();
!     if(queue_time > 0) {
! 	/* message is showing */
! 	now = time(0);
! 	diff = now - (displayed_time + queue_time);
! 	if(diff > 0) 
! 	    sleep(diff);
!     } 
      needs_clearing = 1;
  
      mark_status_dirty();
--- 549,562 ----
      register int  ch, real_line;
      char         *q, *p, **ll;
      int           cursor_moved, max_label;
  
      /*----
         Give the user time to see the status message that was
        just put up if there was one.
        ----*/
!     if(messages_queued())
!       sleep(3);
! 
      needs_clearing = 1;
  
      mark_status_dirty();

---

From: Sanjay Gowda <[email-masked]>
Date: Fri, 1 Oct 1993 11:55:57 -0500 (CDT)

> Switched back to 3.07 and had no problems.
	Same problem here. I am running pine 3.85 on an SGI Personal IRIS
running IRIX 4.0.5.

Sanjay