Subject: [FreeBSD port of Pine 4.03] New mail check bug ? / testers needed (fwd)

From: Adrian Penisoara <[email-masked]>
Date: Fri, 11 Sep 1998 19:21:53 +0300 (EEST)

Hi,

  I'm trying to finish the FreeBSD port for Pine 4.03 but I'm stuck into
what it appears to be a bug in Pine when checking for new mail:
  After I'm starting Pine (user root) I compose a message to myself
and then I hit "I" and down arrow to check for new mail; in that moment
Pine exits with:
- - - - - - - - - - - - - - - - - - - - - -
Problem detected: "Received abort signal".
Pine Exiting.
Abort trap (core dumped)
- - - - - - - - - - - - - - - - - - - - - -

 Environment: FreeBSD 2.2.7-RELEASE , Pine 4.03 built from the
FreeBSD port.
 Please note that I tried to switch to 1777 mode for /var/mail and still
no luck; I thought it could be a user limits problem, but this is unlikely
with the root user...

 I've attached the current port archive, one gdb output and two pine-debug
files (one with level 6 and the other with level 9 -- please note that
with debug level bigger than 6 Pine will simply segfault and won't exit
with the "Received abort signal" message).

 Any hints on what's going on are welcomed!
 Thanks,
 Adrian Penisoara
 Ady (@freebsd.ady.ro)
GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `pine'.
Program terminated with signal 6, Abort trap.
Cannot access memory at address 0x20223080.
#0  0x20284151 in ?? ()
(gdb) bt
#0  0x20284151 in ?? ()
#1  0x202839c3 in ?? ()
#2  0x15934c in coredump ()
#3  0x127acd in panic ()
#4  0x144534 in auger_in_signal ()
#5  0xefbfdfdc in ?? ()
#6  0x1c0edd in dummy_ping (stream=0x241300) at dummy.c:510
#7  0x18ca98 in mail_ping (stream=0x241300) at mail.c:1800
#8  0x10d195 in new_mail ()
#9  0xe9270 in index_lister ()
#10 0xe8fba in mail_index_screen ()
#11 0x1232e4 in main ()
Debug output of the Pine program (debug=6 debug_imap=2). Version 4.03
Fri Sep 11 18:44:01 1998

reading_pinerc "/usr/local/etc/pine.conf"
Open failed: No such file or directory
reading_pinerc "/root/.pinerc"
Read 11427 characters:
 last-time-prune-ques : 98.9
    last-version-used : 4.03
read_pinerc: pinerc_written = 904848387
reading_pinerc "/usr/local/etc/pine.conf.fixed"
Open failed: No such file or directory
======= Current_val options set =======
           inbox-path : inbox
   folder-collections : mail/[]
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
     folder-sort-rule : alphabetical
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
 last-time-prune-ques : 98.9
    last-version-used : 4.03
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
   user-input-timeout : 0
 remote-abook-history : 3
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Command_line_val options set =======
======= User_val options set (/root/.pinerc) =======
 last-time-prune-ques : 98.9
    last-version-used : 4.03
======= Global_val options set (/usr/local/etc/pine.conf) =======
           inbox-path : inbox
   folder-collections : mail/[]
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
     folder-sort-rule : alphabetical
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
   user-input-timeout : 0
 remote-abook-history : 3
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Fixed_val options set (NO pine.conf.fixed) =======
========== Feature settings ==========
  no-allow-changing-from
  no-allow-talk
  no-assume-slow-link
  no-auto-move-read-msgs
  no-auto-open-next-unread
  no-auto-zoom-after-select
  no-auto-unzoom-after-apply
  no-compose-cut-from-cursor
  no-compose-maps-delete-key-to-ctrl-d
  no-compose-rejects-unqualified-addrs
  no-compose-send-offers-first-filter
  no-compose-sets-newsgroup-without-confirm
  no-delete-skips-deleted
  no-disable-config-cmd
  no-disable-default-in-bug-report
  no-disable-busy-alarm
  no-disable-keyboard-lock-cmd
  no-disable-keymenu
  no-disable-password-cmd
  no-disable-take-last-comma-first
  no-disable-signature-edit-cmd
  no-enable-8bit-esmtp-negotiation
  no-enable-8bit-nntp-posting
  no-enable-aggregate-command-set
  no-enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
  no-enable-arrow-navigation
  no-enable-background-sending
  no-enable-bounce-cmd
  no-enable-lame-list-mode
  no-enable-cruise-mode
  no-enable-cruise-mode-delete
  no-enable-delivery-status-notification
  no-enable-dot-files
  no-enable-dot-folders
  no-enable-exit-via-lessthan-command
  no-enable-fast-recent-test
  no-enable-flag-cmd
  no-enable-flag-screen-implicitly
  no-enable-full-header-cmd
  no-enable-goto-in-file-browser
  no-enable-incoming-folders
  no-enable-jump-shortcut
  no-enable-mail-check-cue
  no-enable-mouse-in-xterm
  no-enable-msg-view-attachments
  no-enable-msg-view-urls
  no-enable-msg-view-web-hostnames
  no-enable-msg-view-forced-arrows
  no-enable-newmail-in-xterm-icon
  no-enable-print-via-y-command
  no-enable-reply-indent-string-editing
  no-enable-search-and-replace
  no-enable-sigdashes
  no-enable-suspend
  no-enable-partial-match-lists
  no-enable-tab-completion
  no-enable-unix-pipe-cmd
  no-enable-verbose-smtp-posting
  no-expanded-view-of-distribution-lists
  no-expunge-without-confirm
  no-expunge-without-confirm-everywhere
  no-fcc-on-bounce
  no-include-attachments-in-reply
  no-include-header-in-reply
  no-include-text-in-reply
  no-news-approximates-new-status
  no-news-deletes-across-groups
  no-news-post-without-validation
  no-news-read-in-newsrc-order
  no-pass-control-characters-as-is
  no-preserve-start-stop-characters
  no-print-offers-custom-cmd-prompt
  no-print-includes-from-line
  no-print-index-enabled
  no-print-formfeed-between-messages
  no-quell-dead-letter-on-cancel
     quell-folder-internal-msg
  no-quell-lock-failure-warnings
  no-quell-partial-fetching
  no-quell-status-message-beeping
  no-quell-user-lookup-in-passwd-file
  no-quell-imap-envelope-update
  no-quit-without-confirm
  no-reply-always-uses-reply-to
  no-save-aggregates-copy-sequence
  no-save-will-quote-leading-froms
  no-save-will-not-delete
  no-save-will-advance
  no-select-without-confirm
  no-show-cursor
  no-show-selected-in-boldface
  no-signature-at-bottom
  no-single-column-folder-list
  no-tab-visits-next-new-message-only
     termdef-takes-precedence
  no-use-current-dir
  no-use-function-keys
  no-use-sender-not-x-sender
  no-use-subshell-for-suspend
Userid: root
Fullname: "Charlie ROOT"
User domain name being used ""
Local Domain name being used "warpnet.ro"
Host name being used "scouter.warpnet.ro"
Mail Domain name being used (by c-client too)"scouter.warpnet.ro"
Context mail/%s: serv:"", ref:"", view: ""
new win size -----<51 106>------
Terminal type: xterm
Context mail/%s: serv:"", ref:"", view: ""
About to open folder "INBOX"    inbox: "INBOX"
=== mm_exists(0,inbox) called ===
Opened folder "inbox" with 0 messages
Sorting by Arrival
==== expire_mail called ====
same_stream: /root/.pine-interrupted-mail == inbox
same_stream: no dice

    ---- MAIN_MENU_SCREEN ----
New mail checked 
******** new mail returning -1  ********

    ---- COMPOSE SCREEN (not in pico yet) ----
same_stream: /root/.pine-interrupted-mail == inbox
same_stream: no dice
same_stream: mail/postponed-msgs == inbox
same_stream: no dice

=== send called ===

  ---- COMPOSER ----
new win size -----<51 106>------
- build_address - (root)
-- init_addrbooks(Closed, 0, 0, 1) --
- init_abook -
- adrbk_lookup_with_opens_by_nick(root) -
- init_abook -
- adrbk_open(/root/.addressbook) -
copy_file(/root/.addressbook, 0) -
Address book .addressbook (/root/.addressbook) opened with 0 items
- adrbk_lookup_by_nick(root) (in /root/.addressbook) -
- adrbk_lookup_by_addr([email-masked]) (in /root/.addressbook) -
- init_abook -
- adrbk_partial_close(/root/.addressbook) -
- build_address - ()
new win size -----<51 106>------
Want_to read: y (121)
... composer returns (0x5)
new win size -----<51 106>------
-- pine_encode_body: 0
=== sending: Sending mail...
call_mailer: via "/usr/sbin/sendmail -bs -odb -oem"
Opening pipe: "/usr/sbin/sendmail -bs -odb -oem" (WRNP)
PID: 15190, COMMAND: /usr/sbin/sendmail -bs -odb -oem
IMAP DEBUG 18:44:06 9/11: 220 scouter.warpnet.ro ESMTP Sendmail 8.8.8/8.8.8; Fri, 11 Sep 1998 18:44:06 +0300 (EEST)
IMAP DEBUG 18:44:06 9/11: EHLO localhost
IMAP DEBUG 18:44:06 9/11: 250-scouter.warpnet.ro Hello root@localhost, pleased to meet you
IMAP DEBUG 18:44:06 9/11: 250-EXPN
IMAP DEBUG 18:44:06 9/11: 250-VERB
IMAP DEBUG 18:44:06 9/11: 250-8BITMIME
IMAP DEBUG 18:44:06 9/11: 250-SIZE
IMAP DEBUG 18:44:06 9/11: 250-DSN
IMAP DEBUG 18:44:06 9/11: 250-ONEX
IMAP DEBUG 18:44:06 9/11: 250-ETRN
IMAP DEBUG 18:44:06 9/11: 250-XUSR
IMAP DEBUG 18:44:06 9/11: 250 HELP
Opened SMTP server "scouter.warpnet.ro"
IMAP DEBUG 18:44:06 9/11: RSET
IMAP DEBUG 18:44:06 9/11: 250 Reset state
IMAP DEBUG 18:44:06 9/11: MAIL FROM:<[email-masked]>
IMAP DEBUG 18:44:06 9/11: 250 <[email-masked]>... Sender ok
IMAP DEBUG 18:44:06 9/11: RCPT TO:<[email-masked]>
IMAP DEBUG 18:44:06 9/11: 250 <[email-masked]>... Recipient ok
IMAP DEBUG 18:44:06 9/11: DATA
IMAP DEBUG 18:44:06 9/11: 354 Enter mail, end with "." on a line by itself
-- pine_rfc822_output
-- pine_encode_body: 0
-- pine_rfc822_output_body: 0
-- pine_rfc822_output_body: segment 5 bytes
-- gf_pipe: done.
IMAP DEBUG 18:44:07 9/11: .
IMAP DEBUG 18:44:07 9/11: 250 SAA15191 Message accepted for delivery
IMAP DEBUG 18:44:07 9/11: QUIT
IMAP DEBUG 18:44:07 9/11: 221 scouter.warpnet.ro closing connection
Writing Fcc
same_stream: mail/sent-mail == inbox
same_stream: no dice
done.
=== send returning ===

    ---- MAIN_MENU_SCREEN ----

 ---- MAIL INDEX ----

 ---- INDEX MANAGER ----

 - process_cmd((700)¼) -
New mail checked 
=== mm_exists(1,/var/mail/root) called ===
******** new mail returning -1  ********

 - process_cmd((700)¼) -
New mail checked 
end_signals(1)
auger_in_signal()
about to end_tty_driver
end_signals(1)
Pine Panic: Received abort signal
Debug output of the Pine program (debug=9 debug_imap=4). Version 4.03
Fri Sep 11 18:39:19 1998

reading_pinerc "/usr/local/etc/pine.conf"
Open failed: No such file or directory
reading_pinerc "/root/.pinerc"
Read 11427 characters:
 last-time-prune-ques : 98.9
    last-version-used : 4.03
read_pinerc: pinerc_written = 904848387
reading_pinerc "/usr/local/etc/pine.conf.fixed"
Open failed: No such file or directory
set_current_val(var num=5, expand=1, cmdline=1)
set_current_val(var num=2, expand=1, cmdline=1)
set_current_val(var num=39, expand=1, cmdline=1)
set_current_val(var num=36, expand=1, cmdline=1)
set_current_val(var num=37, expand=1, cmdline=1)
set_current_val(var num=86, expand=1, cmdline=1)
set_current_val(var num=41, expand=1, cmdline=1)
is_list: name=personal-print-command
set_current_val(var num=43, expand=1, cmdline=1)
is_list: name=standard-printer
counted 1 items
set_current_val(var num=40, expand=1, cmdline=1)
set_current_val(var num=44, expand=1, cmdline=1)
set_current_val(var num=46, expand=1, cmdline=1)
set_current_val(var num=47, expand=1, cmdline=1)
set_current_val(var num=49, expand=1, cmdline=1)
set_current_val(var num=50, expand=1, cmdline=1)
set_current_val(var num=51, expand=1, cmdline=1)
set_current_val(var num=52, expand=1, cmdline=1)
set_current_val(var num=48, expand=1, cmdline=1)
set_current_val(var num=54, expand=1, cmdline=1)
set_current_val(var num=11, expand=1, cmdline=1)
set_current_val(var num=13, expand=1, cmdline=1)
set_current_val(var num=15, expand=1, cmdline=1)
set_current_val(var num=16, expand=1, cmdline=1)
set_current_val(var num=33, expand=1, cmdline=1)
is_list: name=editor
set_current_val(var num=34, expand=1, cmdline=1)
set_current_val(var num=38, expand=1, cmdline=1)
set_current_val(var num=81, expand=1, cmdline=1)
is_list: name=url-viewers
set_current_val(var num=3, expand=1, cmdline=1)
is_list: name=smtp-server
set_current_val(var num=22, expand=1, cmdline=1)
is_list: name=default-composer-hdrs
set_current_val(var num=23, expand=1, cmdline=1)
is_list: name=customized-hdrs
set_current_val(var num=55, expand=1, cmdline=1)
set_current_val(var num=57, expand=1, cmdline=1)
is_list: name=display-filters
set_current_val(var num=58, expand=1, cmdline=1)
is_list: name=sending-filters
set_current_val(var num=59, expand=1, cmdline=1)
is_list: name=alt-addresses
set_current_val(var num=60, expand=1, cmdline=1)
is_list: name=addressbook-formats
set_current_val(var num=83, expand=1, cmdline=1)
set_current_val(var num=56, expand=1, cmdline=1)
set_current_val(var num=61, expand=1, cmdline=1)
set_current_val(var num=42, expand=1, cmdline=1)
set_current_val(var num=62, expand=1, cmdline=1)
set_current_val(var num=63, expand=1, cmdline=1)
set_current_val(var num=35, expand=1, cmdline=1)
set_current_val(var num=64, expand=1, cmdline=1)
set_current_val(var num=84, expand=1, cmdline=1)
set_current_val(var num=75, expand=1, cmdline=1)
set_current_val(var num=65, expand=1, cmdline=1)
set_current_val(var num=66, expand=1, cmdline=1)
set_current_val(var num=67, expand=1, cmdline=1)
set_current_val(var num=68, expand=1, cmdline=1)
set_current_val(var num=12, expand=1, cmdline=1)
set_current_val(var num=87, expand=1, cmdline=1)
set_current_val(var num=88, expand=1, cmdline=1)
set_current_val(var num=17, expand=1, cmdline=1)
set_current_val(var num=32, expand=1, cmdline=1)
set_current_val(var num=18, expand=1, cmdline=1)
is_list: name=global-address-book
set_current_val(var num=19, expand=1, cmdline=1)
is_list: name=address-book
counted 1 items
set_current_val(var num=53, expand=1, cmdline=1)
is_list: name=forced-abook-entry
set_current_val(var num=82, expand=1, cmdline=1)
is_list: name=disable-these-drivers
set_current_val(var num=4, expand=1, cmdline=1)
is_list: name=nntp-server
set_current_val(var num=24, expand=1, cmdline=1)
is_list: name=viewer-hdrs
set_current_val(var num=69, expand=1, cmdline=1)
set_current_val(var num=70, expand=1, cmdline=1)
set_current_val(var num=71, expand=1, cmdline=1)
set_current_val(var num=72, expand=1, cmdline=1)
set_current_val(var num=73, expand=1, cmdline=1)
set_current_val(var num=74, expand=1, cmdline=1)
set_current_val(var num=76, expand=1, cmdline=1)
set_current_val(var num=77, expand=1, cmdline=1)
set_current_val(var num=78, expand=1, cmdline=1)
set_current_val(var num=79, expand=1, cmdline=1)
set_current_val(var num=45, expand=1, cmdline=1)
set_current_val(var num=85, expand=1, cmdline=1)
set_current_val(var num=91, expand=1, cmdline=1)
set_current_val(var num=14, expand=1, cmdline=1)
set_current_val(var num=10, expand=1, cmdline=1)
is_list: name=pruned-folders
set_current_val(var num=9, expand=1, cmdline=1)
is_list: name=incoming-archive-folders
set_current_val(var num=6, expand=1, cmdline=1)
is_list: name=incoming-folders
set_current_val(var num=8, expand=1, cmdline=1)
is_list: name=news-collections
set_current_val(var num=7, expand=1, cmdline=1)
is_list: name=folder-collections
counted 1 items
set_current_val(var num=27, expand=1, cmdline=1)
set_current_val(var num=25, expand=1, cmdline=1)
set_current_val(var num=26, expand=1, cmdline=1)
set_current_val(var num=28, expand=1, cmdline=1)
set_current_val(var num=29, expand=1, cmdline=1)
set_current_val(var num=31, expand=1, cmdline=1)
set_current_val(var num=30, expand=1, cmdline=1)
set_current_val(var num=21, expand=0, cmdline=1)
is_list: name=initial-keystroke-list
======= Current_val options set =======
           inbox-path : inbox
   folder-collections : mail/[]
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
     folder-sort-rule : alphabetical
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
 last-time-prune-ques : 98.9
    last-version-used : 4.03
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
   user-input-timeout : 0
 remote-abook-history : 3
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Command_line_val options set =======
======= User_val options set (/root/.pinerc) =======
 last-time-prune-ques : 98.9
    last-version-used : 4.03
======= Global_val options set (/usr/local/etc/pine.conf) =======
           inbox-path : inbox
   folder-collections : mail/[]
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
     folder-sort-rule : alphabetical
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
   user-input-timeout : 0
 remote-abook-history : 3
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Fixed_val options set (NO pine.conf.fixed) =======
========== Feature settings ==========
  no-allow-changing-from
  no-allow-talk
  no-assume-slow-link
  no-auto-move-read-msgs
  no-auto-open-next-unread
  no-auto-zoom-after-select
  no-auto-unzoom-after-apply
  no-compose-cut-from-cursor
  no-compose-maps-delete-key-to-ctrl-d
  no-compose-rejects-unqualified-addrs
  no-compose-send-offers-first-filter
  no-compose-sets-newsgroup-without-confirm
  no-delete-skips-deleted
  no-disable-config-cmd
  no-disable-default-in-bug-report
  no-disable-busy-alarm
  no-disable-keyboard-lock-cmd
  no-disable-keymenu
  no-disable-password-cmd
  no-disable-take-last-comma-first
  no-disable-signature-edit-cmd
  no-enable-8bit-esmtp-negotiation
  no-enable-8bit-nntp-posting
  no-enable-aggregate-command-set
  no-enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
  no-enable-arrow-navigation
  no-enable-background-sending
  no-enable-bounce-cmd
  no-enable-lame-list-mode
  no-enable-cruise-mode
  no-enable-cruise-mode-delete
  no-enable-delivery-status-notification
  no-enable-dot-files
  no-enable-dot-folders
  no-enable-exit-via-lessthan-command
  no-enable-fast-recent-test
  no-enable-flag-cmd
  no-enable-flag-screen-implicitly
  no-enable-full-header-cmd
  no-enable-goto-in-file-browser
  no-enable-incoming-folders
  no-enable-jump-shortcut
  no-enable-mail-check-cue
  no-enable-mouse-in-xterm
  no-enable-msg-view-attachments
  no-enable-msg-view-urls
  no-enable-msg-view-web-hostnames
  no-enable-msg-view-forced-arrows
  no-enable-newmail-in-xterm-icon
  no-enable-print-via-y-command
  no-enable-reply-indent-string-editing
  no-enable-search-and-replace
  no-enable-sigdashes
  no-enable-suspend
  no-enable-partial-match-lists
  no-enable-tab-completion
  no-enable-unix-pipe-cmd
  no-enable-verbose-smtp-posting
  no-expanded-view-of-distribution-lists
  no-expunge-without-confirm
  no-expunge-without-confirm-everywhere
  no-fcc-on-bounce
  no-include-attachments-in-reply
  no-include-header-in-reply
  no-include-text-in-reply
  no-news-approximates-new-status
  no-news-deletes-across-groups
  no-news-post-without-validation
  no-news-read-in-newsrc-order
  no-pass-control-characters-as-is
  no-preserve-start-stop-characters
  no-print-offers-custom-cmd-prompt
  no-print-includes-from-line
  no-print-index-enabled
  no-print-formfeed-between-messages
  no-quell-dead-letter-on-cancel
     quell-folder-internal-msg
  no-quell-lock-failure-warnings
  no-quell-partial-fetching
  no-quell-status-message-beeping
  no-quell-user-lookup-in-passwd-file
  no-quell-imap-envelope-update
  no-quit-without-confirm
  no-reply-always-uses-reply-to
  no-save-aggregates-copy-sequence
  no-save-will-quote-leading-froms
  no-save-will-not-delete
  no-save-will-advance
  no-select-without-confirm
  no-show-cursor
  no-show-selected-in-boldface
  no-signature-at-bottom
  no-single-column-folder-list
  no-tab-visits-next-new-message-only
     termdef-takes-precedence
  no-use-current-dir
  no-use-function-keys
  no-use-sender-not-x-sender
  no-use-subshell-for-suspend
Userid: root
Fullname: "Charlie ROOT"
User domain name being used ""
Local Domain name being used "warpnet.ro"
Host name being used "scouter.warpnet.ro"
Mail Domain name being used (by c-client too)"scouter.warpnet.ro"
Context mail/%s: serv:"", ref:"", view: ""
init_signals()
new win size -----<51 106>------
Terminal type: xterm
Scroll mode: Scroll Regions
Context mail/%s: serv:"", ref:"", view: ""

***** context mail/%s
LABEL: Local folders in mail/
  1) inbox
set_titlebar - style: 1  current message cnt:1  current_pl: 0  total_pl: 0
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 (null)  (null)     18
 3 >       [ListFldrs 17
 4 P       PrevCmd    35
 5 N       NextCmd    35
 6 (null)  (null)     53
 7 (null)  (null)     53
 8 R       RelNotes   70
 9 K       KBLock     70
10 (null)  (null)     88
11 (null)  (null)     88
row: -2, real_row: 49, column: 0
About to open folder "INBOX"    inbox: "INBOX"
busy_alarm(1, Opening "INBOX", 0x0, 1)
q_status_message(Opening "INBOX"     )
output_message(Opening "INBOX"     )
STATUS cmd:120, max:1, min0
=== mm_exists(0,inbox) called ===
Opened folder 0x241300 "inbox" (context: "mail/%s")
Opened folder "inbox" with 0 messages
cancel_busy_alarm(0)
q_status_message(Opening "INBOX" DONE)
comatose(0) returns:q_status_message(Folder "INBOX" opened with 0 messages)
Sorting by Arrival
==== expire_mail called ====
same_stream: /root/.pine-interrupted-mail == inbox
same_stream: no dice
busy_alarm(1, Busy, 0x0, 0)
cancel_busy_alarm(-1)

    ---- MAIN_MENU_SCREEN ----
new mail called (0 2 3)
check_point(VeryBadTime)
Mail_Ping(mail_stream): Fri Sep 11 18:39:19 1998

New mail checked 
Ping complete: Fri Sep 11 18:39:19 1998

******** new mail returning -1  ********
set_titlebar - style: 1  current message cnt:1  current_pl: 0  total_pl: 0
STATUS: diff:0, displayed: 905528359, now: 905528359
d_q_status_message(Opening "INBOX"     )
d_q_status_message(Opening "INBOX" DONE)
output_message(Folder "INBOX" opened with 0 messages)
STATUS cmd:120, max:4, min0
cancel_busy_alarm(-1)
Read char returning: 99 c
Read command returning: 99 c
New_mail_count zeroed

    ---- COMPOSE SCREEN (not in pico yet) ----
same_stream: /root/.pine-interrupted-mail == inbox
same_stream: no dice
busy_alarm(1, Busy, 0x0, 0)
cancel_busy_alarm(-1)
same_stream: mail/postponed-msgs == inbox
same_stream: no dice
busy_alarm(1, Busy, 0x0, 0)
cancel_busy_alarm(-1)

=== send called ===
set_titlebar - style: 1  current message cnt:1  current_pl: 0  total_pl: 0
flags: 80010000
cancel_busy_alarm(-1)

  ---- COMPOSER ----
fix_windsize()
new win size -----<51 106>------
STATUS: diff:-1, displayed: 905528359, now: 905528360
d_q_status_message(Folder "INBOX" opened with 0 messages)
Clearing status line
STATUS cmd:24, max:-1, min-1
New_mail_count zeroed
new mail called (0 2 3)
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
- build_address - (root)
- build_address_internal -  (root)
- init_ab_if_needed -
-- init_addrbooks(Closed, 0, 0, 1) --
- addrbook_access -
- init_abook -
    addrbook nickname = .addressbook filename = /root/.addressbook  ostatus was TotallyClosed, want Closed
- warp_to_beginning -
- save_state -
- expand_address -  (root)
- adrbk_lookup_with_opens_by_nick(root) -
- init_abook -
    addrbook nickname = .addressbook filename = /root/.addressbook  ostatus was Closed, want NoDisplay
- adrbk_open(/root/.addressbook) -
copy_file(/root/.addressbook, 0) -
- valid_hfile -
- get_timestamp_from_disk -
- valid_hfile -
- get_timestamp_from_disk -
busy_alarm(1, Busy, 0x0, 0)
- bld_hash_from_ondisk_hash -
initializing hash_by_nick
initializing hash_by_addr
cancel_busy_alarm(-1)
- init_entryref_cache -
- adrbk_set_nominal_cachesize - was 0 now 0
- init_entryref_cache -
- clear_entryref_cache -
- adrbk_is_in_sort_order -
- get_sort_rule_from_disk -
Address book .addressbook (/root/.addressbook) opened with 0 items
- adrbk_clearrefs -
- adrbk_lookup_by_nick(root) (in /root/.addressbook) -
- adrbk_lookup_by_addr([email-masked]) (in /root/.addressbook) -
- restore_state -
- init_disp_form(.addressbook) -
- init_abook -
    addrbook nickname = .addressbook filename = /root/.addressbook  ostatus was NoDisplay, want Closed
- adrbk_partial_close(/root/.addressbook) -
- init_entryref_cache -
- clear_entryref_cache -
- warp_to_dlc(0) -
New_mail_count zeroed
- build_address - ()
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
New_mail_count zeroed
fix_windsize()
new win size -----<51 106>------
suspend_busy_alarm
 0 (null)  (null)     2
 1 ^C      Cancel     0
 2 Y       [Yes]      17
 3 N       No         17
 4 (null)  (null)     35
 5 (null)  (null)     35
 6 (null)  (null)     53
 7 (null)  (null)     53
 8 (null)  (null)     70
 9 (null)  (null)     70
10 (null)  (null)     88
11 (null)  (null)     88
row: -2, real_row: 49, column: 0
Read char returning: 121 y
Want_to read: y (121)
resume_busy_alarm
... composer returns (0x5)
fix_windsize()
new win size -----<51 106>------
init_signals()
busy_alarm(1, Busy, 0x0, 0)
busy_alarm(1, Busy, 0x0, 0)
busy_alarm(1, Busy, 0x0, 0)
-- pine_encode_body: 0
cancel_busy_alarm(-1)
=== sending: build_folder_list: mail/%s sent-mail
busy_alarm(1, Busy, 0x0, 0)
mm_list "mail/sent-mail": delim: '/', , no inferiors, marked
cancel_busy_alarm(-1)
Sending mail...
busy_alarm(1, Sending mail, 0x142cf8, 1)
q_status_message(Sending mail |          |)
output_message(Sending mail |          |)
STATUS cmd:120, max:1, min0
call_mailer: via "/usr/sbin/sendmail -bs -odb -oem"
Opening pipe: "/usr/sbin/sendmail -bs -odb -oem" (WRNP)
PID: 15155, COMMAND: /usr/sbin/sendmail -bs -odb -oem
IMAP DEBUG 18:39:26 9/11: 220 scouter.warpnet.ro ESMTP Sendmail 8.8.8/8.8.8; Fri, 11 Sep 1998 18:39:26 +0300 (EEST)
IMAP DEBUG 18:39:26 9/11: EHLO localhost
IMAP DEBUG 18:39:26 9/11: 250-scouter.warpnet.ro Hello root@localhost, pleased to meet you
IMAP DEBUG 18:39:26 9/11: 250-EXPN
IMAP DEBUG 18:39:26 9/11: 250-VERB
IMAP DEBUG 18:39:26 9/11: 250-8BITMIME
IMAP DEBUG 18:39:26 9/11: 250-SIZE
IMAP DEBUG 18:39:26 9/11: 250-DSN
IMAP DEBUG 18:39:26 9/11: 250-ONEX
IMAP DEBUG 18:39:26 9/11: 250-ETRN
IMAP DEBUG 18:39:26 9/11: 250-XUSR
IMAP DEBUG 18:39:26 9/11: 250 HELP
Opened SMTP server "scouter.warpnet.ro"
IMAP DEBUG 18:39:26 9/11: RSET
IMAP DEBUG 18:39:26 9/11: 250 Reset state
IMAP DEBUG 18:39:26 9/11: MAIL FROM:<[email-masked]>
IMAP DEBUG 18:39:26 9/11: 250 <[email-masked]>... Sender ok
IMAP DEBUG 18:39:26 9/11: RCPT TO:<[email-masked]>
IMAP DEBUG 18:39:26 9/11: 250 <[email-masked]>... Recipient ok
IMAP DEBUG 18:39:26 9/11: DATA
IMAP DEBUG 18:39:26 9/11: 354 Enter mail, end with "." on a line by itself
-- pine_rfc822_output
busy_alarm(1, Busy, 0x0, 0)
-- pine_encode_body: 0
-- pine_rfc822_output_body: 0
-- pine_rfc822_output_body: segment 5 bytes
-- gf_reset local_nvtnl
-- gf_pipe: done.
IMAP DEBUG 18:39:26 9/11: .
IMAP DEBUG 18:39:26 9/11: 250 SAA15156 Message accepted for delivery
IMAP DEBUG 18:39:26 9/11: QUIT
IMAP DEBUG 18:39:26 9/11: 221 scouter.warpnet.ro closing connection
new mail called (0 2 2)
SIGCHLD raised
cancel_busy_alarm(0)
q_status_message(Sending mail |   100%   |)
Writing Fcc
busy_alarm(1, Writing Fcc, 0x0, 1)
q_status_message(Writing Fcc     )
STATUS: diff:0, displayed: 905528366, now: 905528366
d_q_status_message(Sending mail |          |)
d_q_status_message(Sending mail |   100%   |)
output_message(Writing Fcc     )
STATUS cmd:120, max:1, min0
same_stream: mail/sent-mail == inbox
same_stream: no dice
Done with IMAP critical on (null)
Done with IMAP critical on (null)
cancel_busy_alarm(0)
q_status_message(Writing Fcc DONE)
done.
q_status_message(Message sent and copied to "sent-mail".)
=== send returning ===

    ---- MAIN_MENU_SCREEN ----
new mail called (0 2 3)
set_titlebar - style: 1  current message cnt:1  current_pl: 0  total_pl: 0
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 (null)  (null)     18
 3 >       [ListFldrs 17
 4 P       PrevCmd    35
 5 N       NextCmd    35
 6 (null)  (null)     53
 7 (null)  (null)     53
 8 R       RelNotes   70
 9 K       KBLock     70
10 (null)  (null)     88
11 (null)  (null)     88
row: -2, real_row: 49, column: 0
STATUS: diff:-1, displayed: 905528366, now: 905528367
d_q_status_message(Writing Fcc     )
d_q_status_message(Writing Fcc DONE)
output_message(Message sent and copied to "sent-mail".)
STATUS cmd:120, max:3, min0
cancel_busy_alarm(-1)
Read char returning: 105 i
Read command returning: 105 i
New_mail_count zeroed

 ---- MAIL INDEX ----

 ---- INDEX MANAGER ----
new mail called (0 2 1)
set_titlebar - style: 2  current message cnt:1  current_pl: 0  total_pl: 0
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 <       FldrList   17
 3 >       [ViewMsg]  17
 4 P       PrevMsg    35
 5 N       NextMsg    35
 6 -       PrevPage   55
 7 Spc     NextPage   53
 8 D       Delete     70
 9 U       Undelete   70
10 R       Reply      88
11 F       Forward    88
row: -2, real_row: 49, column: 0
STATUS: diff:0, displayed: 905528367, now: 905528367
d_q_status_message(Message sent and copied to "sent-mail".)
Clearing status line
STATUS cmd:120, max:-1, min-1
cancel_busy_alarm(-1)
Read char returning: 2066 Down Arrow
Read command returning: 2066 Down Arrow
New_mail_count zeroed

 - process_cmd((700)¼) -
q_status_message(No messages in folder)
new mail called (1 2 1)
check_point(VeryBadTime)
Mail_Ping(mail_stream): Fri Sep 11 18:39:27 1998

New mail checked 
Done with IMAP critical on /var/mail/root
=== mm_exists(1,/var/mail/root) called ===
Done with IMAP critical on /var/mail/root
Ping complete: Fri Sep 11 18:39:27 1998

******** new mail returning -1  ********
output_message(No messages in folder)
STATUS cmd:2066, max:2, min0
cancel_busy_alarm(-1)
Read char returning: 2066 Down Arrow
Read command returning: 2066 Down Arrow
New_mail_count zeroed

 - process_cmd((700)¼) -
new mail called (1 2 1)
check_point(VeryBadTime)
Mail_Ping(mail_stream): Fri Sep 11 18:39:27 1998

New mail checked

---

From: Nathan Stratton <[email-masked]>
Date: Fri, 11 Sep 1998 15:04:58 -0400 (EDT)

> and then I hit "I" and down arrow to check for new mail; in that moment

Why is a FreeBSD port needed? I run FreeBSD and I just used generic unix
and it compiled fine.

><>
Nathan Stratton				Telecom & ISP Consulting
www.robotics.net	 		[email-masked]
--
"No king is saved by the size of his army; no warrior escapes by
his great strength."                               - Psalm 33:16

---

From: Adrian Penisoara <[email-masked]>
Date: Sat, 12 Sep 1998 12:16:37 +0300 (EEST)

Hi,

> Why is a FreeBSD port needed? I run FreeBSD and I just used generic unix

 Well, it might have compiled fine, it may even run fine, but not
everything in the "generic unix" port is optimised for the FreeBSD
platform...
 The {Free/Open}BSD port collection assures that every package (covered in
the port collection) will be installed with suitable defaults and/or
options for the {Free/Open}BSD platform.
 For example: while the Pine sources use "/usr/local/lib/" for system-wide
configuration files, FreeBSD (port) uses ${PREFIX}/etc/ for them (with
${PREFIX} beeing "/usr/local" by default); furthermore, the port assures
the correct install procedure for the "libpico.so.*" shared library
(previous versions of Pine) and the resulting executables in the suitable
directories. The patches provided with the port try to adapt thes sources
for the FreeBSD environment (enabling F_TERMCAP_WINS, managing 
"/var/mail/..." locks, etc.).

 And last, but not least, the port should make the life easier for the
average user -- it requires just an "make install" to do everything (from
fetching the sources 'till installing & registering the package
installation)...

> www.robotics.net	 		[email-masked]

 Hoping that I made myself clear,
 Ady (@freebsd.ady.ro)
 [current maintainer for pine & imap-uw FreeBSD ports]

---

From: Adrian Penisoara <[email-masked]>
Date: Sat, 12 Sep 1998 17:14:29 +0300 (EEST)

Hi again,

> and then I hit "I" and down arrow to check for new mail; in that moment

 I found what causes this: enabling the "quell-folder-internal-msg"
feature (F_QUELL_INTERNAL_MSG for the programmers) !!

 Could someone please test this: enable "quell-folder-internal-msg", empty
your mailbox (must be zero-legth, run "echo -n >/var/mail/[USER]" to make
sure) then perform the above test ?

 Thanks,
 Ady (@freebsd.ady.ro)

---

From: Adrian Penisoara <[email-masked]>
Date: Sun, 13 Sep 1998 00:40:01 +0300 (EEST)

Hi,

> feature (F_QUELL_INTERNAL_MSG for the programmers) !!

 Further details (after some tests on 2 machines over here):

  * I had no problems with the previous 4.02(A) Pine version...

  * Under FreeBSD 2.2.7-RELEASE Pine 4.03 fails to check for new mail, no
    matter if it was compiled from the plain sources (with "./build bsf")
    or it was compiled from the FreeBSD port, if the
    "quell-folder-internal-msg" feature is enabled, but it doesn't exhibit
    at all if the feature is disabled !

  * Under FreeBSD 3.0-980520-SNAP Pine 4.03 doesn't exhibit this problem
    at all, built from sources/FreeBSD port, feature enabled/disabled.

 People out there: if you run FreeBSD and if you have some spare time
please help me by testing the Pine 4.03 package -- try compiling from the
bare sources with "./build bsf" and also from the FreeBSD port; you can 
get the latest version of the FreeBSD port from here:

  ftp://ftp.freebsd.ady.ro/ports/pine/4.03/pine4.tar.gz
  http://members.xoom.com/adyx/FreeBSD/ports/pine/4.03/pine4.tar.gz

 Also try toggling the "quell-folder-internal-msg" (make sure you have a
zero-lenght mailbox).

 Please send your reports/ideeas to <[email-masked]>. Thank you !

   Ady (@freebsd.ady.ro)

---

From: Adrian Penisoara <[email-masked]>
Date: Tue, 15 Sep 1998 14:45:53 +0300 (EEST)

Hi,

>     at all if the feature is disabled !

 More details: this problem exhibits ONLY when Pine is run under XWindows,
and probably ISN'T related to a special version of FreeBSD (and it might
not be related only to the FreeBSD OS)!

 There seems to be a strange interaction between Pine 4.03 and BASH when
the XTerm's dimensions are large (i.e. more than 55 lines & more than 170
columns). I have no problems with SH; I checked again 4.02A and haven't
had any problems with it...

 Environment:
  * FreeBSD 2.2.7-RELEASE
  * XFree86 Version 3.3.2.3 / X Window System
    (protocol Version 11, revision 0, vendor release 6300)
    Release Date: July 15 1998
    Operating System: FreeBSD 2.2.5-STABLE i386
  * GNU bash, version 2.02.0(1)-release (i386-pc-freebsd2.2.7)
  * Pine 4.03 built from FreeBSD port
  * Pine 4.03 built from original sources, "bsf" port

 I'd like to ask the people on the list to check this observation: please
run bash in a xterm as large as possible and launch Pine and perform the
"compose yourself a message and check your mail" test (make sure you have 
a zero-length mailbox and you have enabled the
"quell-folder-internal-msg" feature). This might exhibit for any OS, not
just FreeBSD (as a matter of fact I saw a similar bug report earlier on
the list)!

 In the mean time I will release to the public the FreeBSD port, hoping
we're going to get enough feedback to solve this issue. You can get the
lastest version of the port from:

  Thank you very much,
  Ady (@freebsd.ady.ro)