Subject: the index in pine

From: "Richard C. Gaine" <[email-masked]>
Date: Thu, 12 May 1994 09:30:21 -0400 (EDT)

Hello,
	I am using pine3.89 on an Esix SVR4 machine.  I have had a few 
complaints from some of my users that I need help with.

1.  At times the index does not display any information about the 
message.  It'll say something like, "No message text available."  Can 
someone help me with this?

2.  When messages are sent from pine the date is wrong.  It is something 
like back in 1970.  What would cause this?  How can I correct the 
problem?  The date is properly set on the machine and standard mail and 
elm seem to work fine.

3.  Esix is not running sendmail, so I am using a NetBSD 0.9 system as a 
mail server.  At times when users send mail it says, "Mail not sent. SMTP 
connection went away."  This doesn't happin a lot, and out LAN is fine.  
What could be the problem with this?

	Well, the only way to end this message is     HELP!!  

Thanks for any help.

Rick Gaine

---

From: Barry Landy <[email-masked]>
Date: Fri, 13 May 1994 16:32:57 +0100 (BST)

> someone help me with this?

This has occasionally happened to me. When I have looked in the mail 
folder directly PINE is telling the truth - there is nothing there!
All there is is a Berkeley style header saying that there is a message 
and where it came from, but everything else has vanished.

This effect only occurred after Saving a message; the copy in the 
destination folder being in this bad state.

After some correspondence, pine-bugs and I thought it might correlate 
with the fact that the system I use NFS mounts the volumes containing  my 
folders. A little while back they supplied me with a new version of IMAP 
as an experiment, and the effect has not occurred since.

Does the background match yours?

=======================================================================
Barry Landy, Head of Systems and Development,
University of Cambridge Computing Service
[email-masked]      0223-334713   +44-223-334713

---

From: David L Miller <[email-masked]>
Date: Thu, 26 May 1994 10:45:26 -0700 (PDT)

> someone help me with this?

This happens when there is an internal "From " header, but no message to 
go with it.  There are various reasons for this, most of them outside of 
Pine.

> problem?  The date is properly set on the machine and standard mail and 

This may be a problem in the rfc822_date() function in c-client
(imap/non-ANSI/os_sv4.c) but we do not have any Esix systems available.  Can
anyone confirm/deny/fix this problem? 

> What could be the problem with this?

This happens when the SMTP connection goes away for some reason outside 
of Pine's control....

> 	Well, the only way to end this message is     HELP!!  

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

---

From: "Brian P. Hampson" <[email-masked]>
Date: Thu, 26 May 1994 13:08:13 -0700 (PDT)

> anyone confirm/deny/fix this problem? 
Using the DG/UX v5.4.2 and the SV4 build, all is fine with dates on 
messages.  I don't think it's a problem there.

B.

   ------------------------------------------------------------------------
   |Brian P. Hampson                  Internet: [email-masked] |
   |System Administration,                      [email-masked]        |
   |Analytical Service Labs           Fidonet : Brian Hampson 1:153/733   |
   |Vancouver, BC                                                         |
   |                                                                      |
   |               Specialists in Environmental Chemistry                 | 
   |                                                                      |
   ------------------------------------------------------------------------

---

From: [email-masked] (Jonathan Chen)
Date: 30 May 1994 21:37:35 +1200

>messages.  I don't think it's a problem there.

This problem exists when compiling under SVR4 environment on a MIPS running
RISC/os 5.01. The fix is to edit the rfc822_date() function so that
the call to tzset() is done *before* the call to localtime(). On RISC/os 5.01,
tzset() apparently clears the structure returned from localtime().

ie :

void rfc822_date (date)
        char *date;
{
  int zone,dstnow;
  struct tm *t;
  time_t time_sec = time (0);

  /*************************************
  The following 2 lines must be swapped:
  t = localtime (&time_sec);    /* convert to individual items */
  tzset ();                     /* initialize timezone/daylight variables */
  ***************************************/
  tzset ();                     /* initialize timezone/daylight variables */
  t = localtime (&time_sec);    /* convert to individual items */

                                /* see if it is DST now */
  dstnow = daylight && t->tm_isdst;
                                /* get timezone value */
  zone = - (dstnow ? altzone : timezone) / 60;
                                /* and output it */
  sprintf (date,"%s, %d %s %d %02d:%02d:%02d %+03d%02d (%s)",
           days[t->tm_wday],t->tm_mday,months[t->tm_mon],t->tm_year+1900,
           t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60,
           tzname[dstnow]);
}
-- 
Jonathan Chen                    | E-mail : [email-masked]
#include    <std/disclaimer>     | Voice  : +64.9.489.7020