Subject: winsock pine composing problems

From: Doug Hughes <[email-masked]>
Date: Sun, 9 Oct 1994 12:35:58 -0500 (CDT)

After composing a message and pressing ctrl-X and pressing Y to
confirm delivery, pine hangs.. no response..
 This is winsock version of pine using the PCNFS5.0 winsock.

Here is pinedebg.txt: (All features have default values)

Debug output of the Pine program (at debug level 2).  Version 3.90
Sun Oct 09 12:22:04 1994

reading_pinerc "C:\pine\pinerc"
Read 6136 characters:
========== Current_val options set ==========
          user-domain : eng.auburn.edu
          smtp-server : mailhost
           inbox-path : {mailhost}INBOX
   folder-collections : c:\mail\[]
          default-fcc : sentmail
     postponed-folder : postpond
       mail-directory : mail
       signature-file : pine.sig
         address-book : addrbook
         feature-list : signature-at-bottom
  saved-msg-name-rule : by-sender
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
 last-time-prune-ques : 94.10
    last-version-used : 3.90
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
          newsrc-path : C:\pine\NEWSRC
     folder-extension : MTX
 normal-foreground-co : black
 normal-background-co : white
 reverse-foreground-c : cyan
 reverse-background-c : blue
========== Command_line_val options set ==========
========== User_val (pinerc) options set ==========
        personal-name : Doug Hughes
              user-id : doug
          user-domain : eng.auburn.edu
          smtp-server : mailhost
           inbox-path : {mailhost}INBOX
   folder-collections : c:\mail\[]
         feature-list : signature-at-bottom
  saved-msg-name-rule : by-sender
        fcc-name-rule : default-fcc
 last-time-prune-ques : 94.10
    last-version-used : 3.90
 normal-foreground-co : black
 normal-background-co : white
 reverse-foreground-c : cyan
 reverse-background-c : blue
========== Fixed_val (pine.conf.fixed, overrides all) options set ==========
Userid: doug
Fullname: "Doug Hughes"
User domain name being used "eng.auburn.edu"
Local Domain name being used "eng.auburn.edu"
Host name being used "xtester.eng.auburn.edu"
Mail Domain name being used "eng.auburn.edu"
MAILCAP: file: "C:\pine\\MAILCAP"
MAILCAP: Cannot read file C:\pine\\MAILCAP
MAILCAP: file: "C:\WINPINE\\MAILCAP"
MAILCAP: Cannot read file C:\WINPINE\\MAILCAP
Context c:\mail\[] type: LOCAL
About to open folder "INBOX"    inbox: "INBOX"
IMAP mm_notify NIL : {mailhost}INBOX : edison IMAP2bis Service 7.8(88) at Sun, 9 Oct 1994 13:25:02 -0500 (CDT)
Opened folder "{mailhost.eng.auburn.edu}INBOX" with 22 messages
Sorting by Arrival
IMAP 12:22 10/9 mm_log babble: Find of mailbox outside context: C:\intruptd

    ---- MAIN_MENU_SCREEN ----
Want_to read: c (99)

    ---- COMPOSE SCREEN (not in pico yet) ----
IMAP 12:22 10/9 mm_log babble: Find of mailbox outside context: C:\intruptd
IMAP 12:22 10/9 mm_log babble: Find of mailbox outside context: c:\mail\postpond
Want_to read: y (121)
IMAP 12:22 10/9 mm_log babble: Mailbox is empty

    ---- MAIN_MENU_SCREEN ----

    ---- COMPOSE SCREEN (not in pico yet) ----
IMAP 12:22 10/9 mm_log babble: Find of mailbox outside context: C:\intruptd
IMA

---

From: Mark Crispin <[email-masked]>
Date: Sun, 9 Oct 1994 14:20:43 -0700 (PDT)

Doug -

There is bad news, mediocre news, and good news.

The bad news is that this is a known bug in Winsock Pine 3.90.  It occurs
if your timezone is set to anything other than PST8PDT (the Microsoft
default and also where we are located).  As I heard it described, it was 
sampling the current time at two different points and calculating a 
delta, but one of those samples was in Pacific time instead of local 
time.  This caused the delta to be a matter of hours rather than seconds, 
and that delta in turn was used as part of a calculation for a wait time.  
Oops.

This problem is specific to Winsock.  PC Pine does not have this problem, 
nor does Unix Pine.  Apparently, you have to be really careful where your 
tzset() calls are on Winsock applications.

The mediocre news is that you can work around this problem by leaving 
your timezone unset or set to PST8PDT.  Welcome to the west coast!  ;-)

The good news is that this bug is fixed in Pine 3.91, which should be 
coming out imminently.

-- Mark --