Subject: Pine 3.94 hangs after *second* print

From: "MAS Inc." <[email-masked]>
Date: Mon, 24 Jun 1996 11:35:46 -0700

I'm running pine 3.94 on SCO 3.2v4.1.  Most of the terminal have the
printer setup as "lp -dP6".  When you go into a message and print the
first time, everything's okay.  But if you try to print immediately again,
although the message prints, you never get back to pine.  You have to kill
the process to get control back.  You never see the second "PRINT Result"
message.

I've attached a rather lenthy pine debug file at level 9 and the output of
ps while pine is hung.

Thank you for any help you can give me.  I appriciate it!

If you want to e-mail me and get a faster response, you can e-mail
[email-masked].  Thanks!

---MAS Inc.			   email: [email-masked]
   15050 SW Koll Parkway, Suite C    web: http://www.teleport.com/~masi
   Beaverton, OR  97006		   phone: (503) 641-6200
Debug output of the Pine program (at debug level 9).  Version 3.94
Mon Jun 24 10:49:07 1996

reading_pinerc "/usr/local/lib/pine.conf"
Read 5148 characters:
reading_pinerc "/u/knute/.pinerc"
Read 10855 characters:
  read-message-folder : read-messages
         feature-list : signature-at-bottom
                      : delete-skips-deleted
                      : enable-alternate-editor-cmd
                      : enable-bounce-cmd
                      : enable-full-header-cmd
                      : enable-aggregate-command-set
                      : enable-flag-cmd
                      : enable-jump-shortcut
                      : enable-mail-check-cue
                      : enable-suspend
                      : enable-tab-completion
                      : enable-unix-pipe-cmd
                      : save-will-advance
                      : expanded-view-of-addressbooks
                      : compose-cut-from-cursor
                      : compose-maps-delete-key-to-ctrl-d
                      : enable-dot-files
                      : enable-goto-in-file-browser
                      : print-offers-custom-cmd-prompt
                      : print-index-enabled
                      : print-formfeed-between-messages
                      : preserve-start-stop-characters
             sort-key : Arrival
   addrbook-sort-rule : fullname
               editor : vi
              printer : P6 [] lp -dP6
 personal-print-comma : P3 [] lp -dP3
                      : P6 [] lp -dP6
 last-time-prune-ques : 96.6
    last-version-used : 3.94
 personal-print-categ : 3
reading_pinerc "/usr/local/lib/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=36, expand=1, cmdline=1)
set_current_val(var num=33, expand=1, cmdline=1)
set_current_val(var num=34, expand=1, cmdline=1)
set_current_val(var num=75, expand=1, cmdline=1)
set_current_val(var num=37, expand=1, cmdline=1)
set_current_val(var num=38, expand=1, cmdline=1)
is_list: name=personal-print-command
counted 2 items
set_current_val(var num=40, expand=1, cmdline=1)
is_list: name=standard-printer
counted 1 items
set_current_val(var num=41, expand=1, cmdline=1)
set_current_val(var num=43, 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=48, expand=1, cmdline=1)
set_current_val(var num=49, expand=1, cmdline=1)
set_current_val(var num=45, expand=1, cmdline=1)
set_current_val(var num=51, 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=30, expand=1, cmdline=1)
set_current_val(var num=31, expand=1, cmdline=1)
set_current_val(var num=35, expand=1, cmdline=1)
set_current_val(var num=3, expand=1, cmdline=1)
is_list: name=smtp-server
set_current_val(var num=21, expand=1, cmdline=1)
is_list: name=default-composer-hdrs
set_current_val(var num=22, expand=1, cmdline=1)
is_list: name=customized-hdrs
set_current_val(var num=52, expand=1, cmdline=1)
set_current_val(var num=54, expand=1, cmdline=1)
is_list: name=display-filters
set_current_val(var num=55, expand=1, cmdline=1)
is_list: name=sending-filters
set_current_val(var num=56, expand=1, cmdline=1)
is_list: name=alt-addresses
set_current_val(var num=57, expand=1, cmdline=1)
is_list: name=addressbook-formats
set_current_val(var num=53, expand=1, cmdline=1)
set_current_val(var num=58, expand=1, cmdline=1)
set_current_val(var num=39, expand=1, cmdline=1)
set_current_val(var num=59, expand=1, cmdline=1)
set_current_val(var num=60, expand=1, cmdline=1)
set_current_val(var num=32, expand=1, cmdline=1)
set_current_val(var num=61, 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=64, expand=1, cmdline=1)
set_current_val(var num=65, expand=1, cmdline=1)
set_current_val(var num=12, 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=16, expand=1, cmdline=1)
set_current_val(var num=29, expand=1, cmdline=1)
set_current_val(var num=17, expand=1, cmdline=1)
is_list: name=global-address-book
set_current_val(var num=18, expand=1, cmdline=1)
is_list: name=address-book
counted 1 items
set_current_val(var num=50, expand=1, cmdline=1)
is_list: name=forced-abook-entry
set_current_val(var num=4, expand=1, cmdline=1)
is_list: name=nntp-server
set_current_val(var num=23, expand=1, cmdline=1)
is_list: name=viewer-hdrs
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=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=42, expand=1, cmdline=1)
set_current_val(var num=74, expand=1, cmdline=1)
set_current_val(var num=80, 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
set_current_val(var num=26, expand=1, cmdline=1)
set_current_val(var num=24, expand=1, cmdline=1)
set_current_val(var num=25, expand=1, cmdline=1)
set_current_val(var num=27, expand=1, cmdline=1)
set_current_val(var num=28, expand=1, cmdline=1)
set_current_val(var num=20, 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
     postponed-folder : ppnd-msgs
       mail-directory : mail
  read-message-folder : read-messages
       signature-file : .signature
         address-book : .addressbook
         feature-list : signature-at-bottom
                      : delete-skips-deleted
                      : enable-alternate-editor-cmd
                      : enable-bounce-cmd
                      : enable-full-header-cmd
                      : enable-aggregate-command-set
                      : enable-flag-cmd
                      : enable-jump-shortcut
                      : enable-mail-check-cue
                      : enable-suspend
                      : enable-tab-completion
                      : enable-unix-pipe-cmd
                      : save-will-advance
                      : expanded-view-of-addressbooks
                      : compose-cut-from-cursor
                      : compose-maps-delete-key-to-ctrl-d
                      : enable-dot-files
                      : enable-goto-in-file-browser
                      : print-offers-custom-cmd-prompt
                      : print-index-enabled
                      : print-formfeed-between-messages
                      : preserve-start-stop-characters
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : Arrival
   addrbook-sort-rule : fullname
               editor : vi
 composer-wrap-column : 74
  reply-indent-string : >
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : P6 [] lp -dP6
 personal-print-comma : P3 [] lp -dP3
                      : P6 [] lp -dP6
 personal-print-categ : 3
     standard-printer : lpr
 last-time-prune-ques : 96.6
    last-version-used : 3.94
        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
       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 (/u/knute/.pinerc) =======
  read-message-folder : read-messages
         feature-list : signature-at-bottom
                      : delete-skips-deleted
                      : enable-alternate-editor-cmd
                      : enable-bounce-cmd
                      : enable-full-header-cmd
                      : enable-aggregate-command-set
                      : enable-flag-cmd
                      : enable-jump-shortcut
                      : enable-mail-check-cue
                      : enable-suspend
                      : enable-tab-completion
                      : enable-unix-pipe-cmd
                      : save-will-advance
                      : expanded-view-of-addressbooks
                      : compose-cut-from-cursor
                      : compose-maps-delete-key-to-ctrl-d
                      : enable-dot-files
                      : enable-goto-in-file-browser
                      : print-offers-custom-cmd-prompt
                      : print-index-enabled
                      : print-formfeed-between-messages
                      : preserve-start-stop-characters
             sort-key : Arrival
   addrbook-sort-rule : fullname
               editor : vi
              printer : P6 [] lp -dP6
 personal-print-comma : P3 [] lp -dP3
                      : P6 [] lp -dP6
 personal-print-categ : 3
 last-time-prune-ques : 96.6
    last-version-used : 3.94
======= Global_val options set (/usr/local/lib/pine.conf) =======
           inbox-path : inbox
          default-fcc : sent-mail
 default-saved-msg-fo : saved
     postponed-folder : ppnd-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
 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
       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-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
     compose-cut-from-cursor
     compose-maps-delete-key-to-ctrl-d
  no-compose-rejects-unqualified-addrs
  no-compose-send-offers-first-filter
  no-compose-sets-newsgroup-without-confirm
     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-update-cmd
  no-disable-signature-edit-cmd
  no-enable-8bit-esmtp-negotiation
  no-enable-8bit-nntp-posting
     enable-aggregate-command-set
     enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
     enable-bounce-cmd
  no-enable-cruise-mode
  no-enable-cruise-mode-delete
     enable-dot-files
  no-enable-dot-folders
     enable-flag-cmd
  no-enable-flag-screen-implicitly
     enable-full-header-cmd
     enable-goto-in-file-browser
  no-enable-incoming-folders
     enable-jump-shortcut
     enable-mail-check-cue
  no-enable-mouse-in-xterm
  no-enable-newmail-in-xterm-icon
     enable-suspend
     enable-tab-completion
     enable-unix-pipe-cmd
  no-enable-verbose-smtp-posting
     expanded-view-of-addressbooks
  no-expanded-view-of-distribution-lists
  no-expanded-view-of-folders
  no-expunge-without-confirm
  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-post-without-validation
  no-news-read-in-newsrc-order
  no-pass-control-characters-as-is
     preserve-start-stop-characters
     print-offers-custom-cmd-prompt
  no-print-includes-from-line
     print-index-enabled
     print-formfeed-between-messages
  no-quell-dead-letter-on-cancel
  no-quell-lock-failure-warnings
  no-quell-status-message-beeping
  no-quell-user-lookup-in-passwd-file
  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
     save-will-advance
  no-select-without-confirm
  no-show-cursor
  no-show-selected-in-boldface
     signature-at-bottom
  no-single-column-folder-list
  no-tab-visits-next-new-message-only
  no-use-current-dir
  no-use-function-keys
  no-use-sender-not-x-sender
  no-use-subshell-for-suspend
Userid: knute
Fullname: "Knute Snortum"
User domain name being used ""
Local Domain name being used "masi.COM"
Host name being used "MSI.masi.COM"
Mail Domain name being used (by c-client too)"MSI.masi.COM"
---- write_pinerc ----
Context mail/[] type: LOCAL
init_signals()
Terminal type: altos7
Scroll mode: InsertDelete
Context mail/[] type: LOCAL

***** context mail/[]
LABEL: mail/[]
  1) inbox
set_titlebar - style: 0  current message cnt:1  current_pl: 0  total_pl: 0
comatose(0) returns:prev_col: 0, prev_end:7, top_column:14 spacing:13
prev_col: 14, prev_end:17, top_column:27 spacing:26
prev_col: 27, prev_end:37, top_column:41 spacing:40
prev_col: 41, prev_end:44, top_column:55 spacing:54
prev_col: 54, prev_end:65, top_column:69 spacing:68
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 (null)  (null)     14
 3 L       [ListFldrs 13
 4 P       PrevCmd    27
 5 N       NextCmd    27
 6 (null)  (null)     41
 7 (null)  (null)     41
 8 R       RelNotes   54
 9 K       KBLock     54
10 (null)  (null)     69
11 (null)  (null)     69
row: -2, real_row: 22, column: 0
About to open folder "INBOX"    inbox: "INBOX"
busy_alarm(1, Opening "INBOX", 0, 1)
q_status_message(Opening "INBOX"     )
output_message(Opening "INBOX"     )
STATUS cmd:120, max:1, min0
=== mm_exists(0,inbox) called ===
Opened folder 496a44 "inbox" (context: "mail/[]")
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 ====
busy_alarm(1, Busy, 0, 0)
IMAP 10:49:09 6/24 mm_log babble: Find of mailbox outside context: /u/knute/.pine-intr
cancel_busy_alarm(-1)
- mailcap_free -

    ---- MAIN_MENU_SCREEN ----
new mail called (0 2 1)
check_point(VeryBadTime)
Mail_Ping(mail_stream): Mon Jun 24 10:49:09 1996

New mail checked
Ping complete: Mon Jun 24 10:49:09 1996

******** new mail returning -1  ********
set_titlebar - style: 0  current message cnt:1  current_pl: 0  total_pl: 0
comatose(0) returns:STATUS: diff:0, displayed: 835638549, now: 835638549
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)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 13 RETURN
Read command returning: 13 RETURN
New_mail_count zeroed
=== folder_screen called ====
- mailcap_free -

    ---- FOLDER SCREEN ----
busy_alarm(1, Busy, 0, 0)
find_folders_in_context: mail/[]
====== context_mailbox: (sent-mail)
====== context_mailbox: (saved)
====== context_mailbox: (pine)
====== context_mailbox: (anthro)
====== context_mailbox: (gen)
====== context_mailbox: (util)
====== context_mailbox: (pronto)
====== context_mailbox: (key)
====== context_mailbox: (bbx)
====== context_mailbox: (appo)
====== context_mailbox: (read-messages)
====== context_mailbox: (tisam)
====== context_mailbox: (dcs)
====== context_mailbox: (ispell)
====== context_mailbox: (modem)
====== context_mailbox: (pcs)
====== context_mailbox: (gaylord)
====== context_mailbox: (techna)
====== context_mailbox: (time_and_billing)
====== context_mailbox: (kermit)
====== context_mailbox: (review)
====== context_mailbox: (wo-in-oe)
====== context_mailbox: (dai)
====== context_mailbox: (mas)
====== context_mailbox: (teleport)
====== context_mailbox: (chameleon)
====== context_mailbox: (safety)
====== context_mailbox: (internet)
====== context_mailbox: (sun)
====== context_mailbox: (gray)
====== context_mailbox: (personal)
====== context_mailbox: (virus)
====== context_mailbox: (unix)
====== context_mailbox: (pc)
====== context_mailbox: (web)
====== context_mailbox: (nfs)
====== context_mailbox: (pcs.sdm)
====== context_mailbox: (cfp)
====== context_mailbox: (vsifax)
====== context_mailbox: (solar)
====== context_mailbox: (trumpet)
====== context_mailbox: (gargoyles)
====== context_mailbox: (rose)
====== context_mailbox: (mlink)
====== context_mailbox: (aon)
====== context_mailbox: (aonx)
====== context_mailbox: (floor)
====== context_mailbox: (lmc)
====== context_mailbox: (mail)
====== context_mailbox: (worst)
====== context_mailbox: (dura)
====== context_mailbox: (phone)
====== context_mailbox: (speedship)
====== context_mailbox: (suggest)
====== context_mailbox: (hinck)
====== context_mailbox: (mrp)
====== context_mailbox: (bar-code)
====== context_mailbox: (tbred)
====== context_mailbox: (tms)
====== context_mailbox: (scs)
====== context_mailbox: (ads)
====== context_mailbox: (sfp)
====== context_mailbox: (humor)
====== context_mailbox: (jogger)
====== context_mailbox: (dhc)
====== context_mailbox: (backup)
cancel_busy_alarm(-1)
new mail called (0 2 1)
set_titlebar - style: 0  current message cnt:1  current_pl: 0  total_pl: 0
comatose(0) returns:prev_col: 0, prev_end:8, top_column:14 spacing:13
prev_col: 13, prev_end:26, top_column:27 spacing:26
prev_col: 26, prev_end:38, top_column:41 spacing:40
prev_col: 40, prev_end:52, top_column:55 spacing:54
prev_col: 54, prev_end:64, top_column:69 spacing:68
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 M       Main Menu  13
 3 V       [ViewFldr] 13
 4 P       PrevFldr   26
 5 N       NextFldr   26
 6 -       PrevPage   40
 7 Spc     NextPage   38
 8 D       Delete     54
 9 A       Add        54
10 R       Rename     68
11 W       WhereIs    69
row: -2, real_row: 22, column: 0
STATUS: diff:-3, displayed: 835638549, now: 835638552
d_q_status_message(Folder "INBOX" opened with 0 messages)
Clearing status line
STATUS cmd:121, max:-1, min-1
cancel_busy_alarm(-1)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 322 Right Arrow
Read command returning: 322 Right Arrow
New_mail_count zeroed
folder command: B (322)
new mail called (0 2 1)
STATUS cmd:322, max:-1, min-1
cancel_busy_alarm(-1)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 13 RETURN
Read command returning: 13 RETURN
New_mail_count zeroed
folder command:  (13)
About to open folder "sent-mail"    inbox: "INBOX"
Close - saved inbox state: max 0
busy_alarm(1, Opening "sent-mail", 0, 1)
q_status_message(Opening "sent-mail"     )
output_message(Opening "sent-mail"     )
STATUS cmd:120, max:1, min0
=== mm_exists(71,/u/knute/mail/sent-mail) called ===
Opened folder 497d84 "/u/knute/mail/sent-mail" (context: "mail/[]")
Opened folder "/u/knute/mail/sent-mail" with 71 messages
cancel_busy_alarm(0)
q_status_message(Opening "sent-mail" DONE)
comatose(71) returns:"71"
q_status_message(Folder "sent-mail" opened with 71 messag)
Sorting by Arrival

 ---- MAIL INDEX ----

 ---- INDEX MANAGER ----
new mail called (0 2 1)
set_titlebar - style: 1  current message cnt:1  current_pl: 0  total_pl: 0
comatose(71) returns:"71"
comatose(71) returns:"71"
=== build_header_line(58) ===
=== setup_header_widths(0,71) ===
Parse date: "Thu, 20 Jun 1996 14:19:34 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:4  month:6  year:1996  day:20  hour:14  min:19  sec:34
comatose(925) returns:"925"
Returning 4cdc94 -> <  N  58 Jun 20 To: Richard Gering    (925) Re: New Pine Binaries, was: Computer  (80), 256173173>
=== build_header_line(59) ===
=== setup_header_widths(0,71) ===
Parse date: "Thu, 20 Jun 1996 14:53:01 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:4  month:6  year:1996  day:20  hour:14  min:53  sec:1
comatose(1280) returns:"1,280"
Returning 4cdcec -> <  N  59 Jun 20 To: Mark Tyler      (1,280) Re: Fw: Hinck Medical                 (80), 242118349>
=== build_header_line(60) ===
Parse date: "Thu, 20 Jun 1996 15:04:09 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:4  month:6  year:1996  day:20  hour:15  min:4  sec:9
comatose(676) returns:"676"
Returning 4cdd44 -> <  N  60 Jun 20 To: Jim Bryant        (676) Mark bounce you to me...              (80), 70038398>
=== build_header_line(61) ===
Parse date: "Fri, 21 Jun 1996 09:57:55 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:5  month:6  year:1996  day:21  hour:9  min:57  sec:55
comatose(1353) returns:"1,353"
Returning 4cdd9c -> <  N  61 Jun 21 To: Richard Gering  (1,353) Re: New Pine Binaries, was: Computer  (80), 158567817>
=== build_header_line(62) ===
Parse date: "Fri, 21 Jun 1996 16:26:06 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:5  month:6  year:1996  day:21  hour:16  min:26  sec:6
comatose(856) returns:"856"
Returning 4cddf4 -> <  N  62 Jun 21 To: Dave Read         (856) APPO mods needing SCN changes         (80), 192733661>
=== build_header_line(63) ===
Parse date: "Fri, 21 Jun 1996 17:24:44 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:5  month:6  year:1996  day:21  hour:17  min:24  sec:44
comatose(1153) returns:"1,153"
Returning 4cde4c -> <  N  63 Jun 21 To: Mark Tyler <ma  (1,153) APPO mods in P-Arne                   (80), 203413774>
=== build_header_line(64) ===
Parse date: "Sat, 22 Jun 1996 09:58:12 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:6  month:6  year:1996  day:22  hour:9  min:58  sec:12
comatose(2749) returns:"2,749"
Returning 4cdea4 -> <  N  64 Jun 22 To: MAS Employees   (2,749) Pine upgrade                          (80), 89576022>
=== build_header_line(65) ===
Parse date: "Sat, 22 Jun 1996 12:24:45 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:6  month:6  year:1996  day:22  hour:12  min:24  sec:45
comatose(16345) returns:"16,345"
Returning 4cdefc -> <  N  65 Jun 22 To: Richard Gering (16,345) Re: Native speaker (fwd)              (80), 260916822>
=== build_header_line(66) ===
Parse date: "Sat, 22 Jun 1996 12:48:19 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:6  month:6  year:1996  day:22  hour:12  min:48  sec:19
comatose(2908) returns:"2,908"
Returning 4cdf54 -> <  N  66 Jun 22 To: Richard Gering  (2,908) Re: New Pine Binaries, was: Computer  (80), 254340505>
=== build_header_line(67) ===
Parse date: "Sat, 22 Jun 1996 13:30:55 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:6  month:6  year:1996  day:22  hour:13  min:30  sec:55
comatose(2282) returns:"2,282"
Returning 4cdfac -> <  N  67 Jun 22 To: Richard Gering  (2,282) Re: Wyse60's and Pine                 (80), 174895523>
=== build_header_line(68) ===
Parse date: "Sat, 22 Jun 1996 13:52:05 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:6  month:6  year:1996  day:22  hour:13  min:52  sec:5
comatose(747) returns:"747"
Returning 4ce004 -> <  N  68 Jun 22 To: Patrick Short     (747) Login to Teleport as MASI and Patrick (80), 111459087>
=== build_header_line(69) ===
Parse date: "Mon, 24 Jun 1996 08:45:09 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:1  month:6  year:1996  day:24  hour:8  min:45  sec:9
comatose(2045) returns:"2,045"
Returning 4ce05c -> <     69 Jun 24 To: MAS Employees   (2,045) Pine 3.94 - Check your printer setup  (80), 266565220>
=== build_header_line(70) ===
Parse date: "Mon, 24 Jun 1996 10:05:11 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:1  month:6  year:1996  day:24  hour:10  min:5  sec:11
comatose(1196) returns:"1,196"
Returning 4ce0b4 -> <  N  70 Jun 24 To: Dave Read       (1,196) Re: appo stuff                        (80), 199696924>
=== build_header_line(71) ===
Parse date: "Mon, 24 Jun 1996 10:38:10 -0700 (PDT)" to..  hours_off_gmt:-7  min_off_gmt:0
Parse date: wkday:1  month:6  year:1996  day:24  hour:10  min:38  sec:10
comatose(2096) returns:"2,096"
Returning 4ce10c -> <     71 Jun 24 To: MAS Employees   (2,096) Problems printing with the new pine   (80), 85481647>
prev_col: 0, prev_end:8, top_column:14 spacing:13
prev_col: 13, prev_end:26, top_column:27 spacing:26
prev_col: 26, prev_end:37, top_column:41 spacing:40
prev_col: 40, prev_end:52, top_column:55 spacing:54
prev_col: 54, prev_end:64, top_column:69 spacing:68
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 M       Main Menu  13
 3 V       [ViewMsg]  13
 4 P       PrevMsg    26
 5 N       NextMsg    26
 6 -       PrevPage   40
 7 Spc     NextPage   38
 8 D       Delete     54
 9 U       Undelete   54
10 R       Reply      68
11 F       Forward    68
row: -2, real_row: 22, column: 0
STATUS: diff:-1, displayed: 835638554, now: 835638555
d_q_status_message(Opening "sent-mail"     )
d_q_status_message(Opening "sent-mail" DONE)
output_message(Folder "sent-mail" opened with 71 messages)
STATUS cmd:120, max:4, min0
cancel_busy_alarm(-1)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 13 RETURN
Read command returning: 13 RETURN
New_mail_count zeroed

 - process_cmd((13)
) -

  -----  MAIL VIEW  -----
busy_alarm(1, Busy, 0, 0)
comatose(11) returns:"11"
busy_alarm(1, Busy, 0, 0)
-- gf_reset escape
-- gf_reset nvtnl_local
-- gf_pipe: done.
cancel_busy_alarm(-1)
@@@@ current:71
set_titlebar - style: 2  current message cnt:1  current_pl: 19  total_pl: 36
comatose(71) returns:"71"
comatose(71) returns:"71"
prev_col: 0, prev_end:8, top_column:14 spacing:13
prev_col: 13, prev_end:26, top_column:27 spacing:26
prev_col: 26, prev_end:37, top_column:41 spacing:40
prev_col: 40, prev_end:52, top_column:55 spacing:54
prev_col: 54, prev_end:64, top_column:69 spacing:68
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 M       Main Menu  13
 3 V       ViewAttch  13
 4 P       PrevMsg    26
 5 N       NextMsg    26
 6 -       PrevPage   40
 7 Spc     NextPage   38
 8 D       Delete     54
 9 U       Undelete   54
10 R       Reply      68
11 F       Forward    68
row: -2, real_row: 22, column: 0
new mail called (0 0 1)
check_point(GoodTime)
******** new mail returning -1  ********
STATUS: diff:-1, displayed: 835638555, now: 835638556
d_q_status_message(Folder "sent-mail" opened with 71 messag)
Clearing status line
STATUS cmd:120, max:-1, min-1
cancel_busy_alarm(-1)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 121 y
Read command returning: 121 y
New_mail_count zeroed

 - process_cmd((121)y) -
suspend_busy_alarm
prev_col: 0, prev_end:3, top_column:15 spacing:13
prev_col: 14, prev_end:24, top_column:28 spacing:26
prev_col: 26, prev_end:42, top_column:42 spacing:40
prev_col: 43, prev_end:45, top_column:56 spacing:54
prev_col: 56, prev_end:58, top_column:70 spacing:68
 0 (null)  (null)     0
 1 ^C      Cancel     0
 2 Y       [Yes]      14
 3 N       No         14
 4 ^P      Prev Print 26
 5 ^N      Next Print 26
 6 (null)  (null)     43
 7 C       CustomPrin 42
 8                    56
 9                    56
10 (null)  (null)     70
11 (null)  (null)     70
row: -2, real_row: 22, column: 0
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 121 y
Want_to read: y (121)
resume_busy_alarm
q_status_message(Printing with command "lp -dP6")
output_message(Printing with command "lp -dP6")
STATUS cmd:120, max:9, min0
Printing using command "lp -dP6"
Opening pipe: "lp -dP6" (W)
PID: 6263, COMMAND: lp -dP6
comatose(11) returns:"11"
-- gf_reset escape
-- gf_reset nvtnl_local
-- gf_pipe: done.
new mail called (0 2 0)
SIGCHLD raised
q_status_message(PRINT Result: request id is P6-161428 (s)
q_status_message(Print command completed)
STATUS: diff:0, displayed: 835638559, now: 835638559
d_q_status_message(Printing with command "lp -dP6")
output_message(PRINT Result: request id is P6-161428 (standard input))
STATUS cmd:120, max:4, min3
PROCESS_CMD return: 0
@@@@ current:71
 0 ?       Help       0
 1 O       OTHER CMDS 0
 2 M       Main Menu  13
 3 V       ViewAttch  13
 4 P       PrevMsg    26
 5 N       NextMsg    26
 6 -       PrevPage   40
 7 Spc     NextPage   38
 8 D       Delete     54
 9 U       Undelete   54
10 R       Reply      68
11 F       Forward    68
row: -2, real_row: 22, column: 0
new mail called (0 2 1)
STATUS: diff:2, displayed: 835638559, now: 835638560
cancel_busy_alarm(-1)
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 121 y
Read command returning: 121 y
New_mail_count zeroed

 - process_cmd((121)y) -
suspend_busy_alarm
d_q_status_message(PRINT Result: request id is P6-161428 (s)
prev_col: 0, prev_end:3, top_column:15 spacing:13
prev_col: 14, prev_end:24, top_column:28 spacing:26
prev_col: 26, prev_end:42, top_column:42 spacing:40
prev_col: 43, prev_end:45, top_column:56 spacing:54
prev_col: 56, prev_end:58, top_column:70 spacing:68
 0 (null)  (null)     0
 1 ^C      Cancel     0
 2 Y       [Yes]      14
 3 N       No         14
 4 ^P      Prev Print 26
 5 ^N      Next Print 26
 6 (null)  (null)     43
 7 C       CustomPrin 42
 8                    56
 9                    56
10 (null)  (null)     70
11 (null)  (null)     70
row: -2, real_row: 22, column: 0
Select readfds:1 timeval:0,0
Select on tty returned 1
Read char returning: 121 y
Want_to read: y (121)
resume_busy_alarm
q_status_message(Printing with command "lp -dP6")
d_q_status_message(Print command completed)
output_message(Printing with command "lp -dP6")
STATUS cmd:120, max:9, min0
Printing using command "lp -dP6"
Opening pipe: "lp -dP6" (W)
PID: 6286, COMMAND: lp -dP6
comatose(11) returns:"11"
-- gf_reset escape
-- gf_reset nvtnl_local
-- gf_pipe: done.
new mail called (0 2 0)
end_signals(1)

** Received SIGTERM **

     UID   PID  PPID  C    STIME  TTY      TIME COMMAND
   knute   535     1  0 14:18:43  055      0:01 -ksh
   knute  6387 20222  1 10:50:10  055      0:00 sleep 13
   knute 20222   535  1 08:15:18  055      0:02 -ksh
   knute 20233 20229  1 08:15:19  p11      0:02 -ksh
   knute 20235 20234  0 08:15:19  p12      0:02 -ksh
   knute  6248 20235  0 10:49:07  p12      0:02 pine -d9
   knute  6286  6248  0                    0:00 <defunct>
   knute  6388 20233 11 10:50:10  p11      0:00 ps -fu knute

---

From: Bill Glicker <[email-masked]>
Date: Tue, 25 Jun 1996 06:54:02 -0400

> the process to get control back.  You never see the second "PRINT Result"

The same thing happens on SCO System 5, so I'd also appreciate a solution.

Bill

---

From: Richard Gering <[email-masked]>
Date: Tue, 25 Jun 1996 16:54:34 +0100 (WET)

> the process to get control back.  You never see the second "PRINT Result"

It would seem that the entire range from SCO 3.2v4.1 through 3.2v5.0 is
affected. I've done a little debugging and noticed Pine is waiting for a
SIGCHLD in the function close_system_pipe() [pine/os.c]. This signal never
arrives for the second print command and thus we wait indefinitely. 

The reason why the second print commands ends in a <defunct> process / we
don't get a SIGCHLD is still unclear to me. I'll try to find out... 
 
Regards,

- Richard Gering.

+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) | Let me make one thing perfectly clear:  |
| CI International B.V. Netherlands | I never explain anything! (Mary Poppins)| 
+-----------------------------------------------------------------------------+

---

From: Richard Gering <[email-masked]>
Date: Wed, 26 Jun 1996 23:15:28 +0100 (WET)

> the process to get control back.  You never see the second "PRINT Result"

Try to uncomment the following line in pine/osdep/os-sco.h :

/* #define SYSV_SIGNALS    /* use System-V signal semantics (ttyin.c) */

Enabling System-V signal semantics turned out to solve this problem on my
SCO 3.2v4.2 and 3.2v5.0 systems. A BIG thank you to Michael Seibel from
the Pine Team for pointing me to the possible cause and its solution!

Kind regards,

- Richard.