Subject: pine confusing subdirectories and folders

From: "D.J.Peacock" <[email-masked]>
Date: Tue, 7 Dec 1993 10:42:40 +0000 (GMT)

I'm back again - pine 3.88 was still having trouble distinguishing
between folders and subdirectories in mail BUT there does seem to
be a solution - perhaps it is due to swapping between 3.07 and 3.88 ?

I amended my .pinerc as suggested and on trying to save to a folder
called  mail/SUN/xterm with 

SAVE to folder in <Primary> [saved-messages] : SUN/xterm

I ended up with a folder does not exist message

BUT it did work with pine 3.07 ...

Here's the .pinerc

# Updated by Pine(tm) 3.88, copyright 1989-1993 University of Washington.
#
# Pine configuration file -- customize as needed.
#
# This file sets the configuration options used by Pine and PC-Pine.  If you
# are using Pine on a Unix system, there may be a system-wide configuration
# file which sets the defaults for these variables.  There are comments in
# this file to explain each variable, but if you have questions about
# specific settings see the section on configuration options in the Pine
# notes.

# Your full name
personal-name=D.J.Peacock

# Your printer selection
printer=rsh sunserv lpr -Pcscpc

# Special print command if it isn't one of the standard printers
personal-print-command=rsh sunserv lpr -Pcscpc

# Date last time you were asked about deleting old sent-mail
last-time-prune-questioned=93.12

# Domain name you are in  e.g. nwnet.net, cac.washington.edu, bwc.org
user-domain=

# Eliminate host part from hostname, using only domain part for domain name
use-only-domain-name=

# Name/path of inbox. (Folder path name or "{host}inbox" for remote IMAP inbox)
inbox-path=

# If "yes" default folder name to sender when saving mail
# Elm-style-save is obsolete, use saved-msg-name-rule
elm-style-save=

# Include message header in inclusion of original mail when replying
# Header-in-reply is obsolete, use include-header-in-reply in feature-list
header-in-reply=

# The default folder where a copy of outgoing mail is saved
default-fcc=outgoing

# Name of SMTP server for sending mail. If blank, sendmail will be used
smtp-server=

# Editor to use in place of Pine's internal composer, Pico
editor=vi

# Program to view images if format such as GIF and TIFF
image-viewer=

# "seedling", "sapling" or "old-growth" for novice, intermediate and advanced
# Feature-level is obsolete, use feature-list
feature-level=old-growth

# Use old style forward/reply with new text and signature below included text
# Old-style-reply is obsolete, use signature-at-bottom in feature-list
old-style-reply=

# Name of file to read signature out of for inclusion in outgoing mail
signature-file=.tag

# Sub directory in users home directory where mail folders/files are kept
mail-directory=mail

# Character set used by your terminal e.g. US-ASCII, ISO-8859-1, ISO-8859-4
character-set=

# Will display all text without checking whether or not it is displayable
# Show-all-characters is obsolete, use show-all-characters in feature-list
# Show-all-characters is obsolete
#show-all-characters=

# List of folders other than INBOX that receive new messages.  Use only if
# you filter incoming email into multiple files or receive email on several
# different machines.  For example:
# incoming-folders=Consulting       {carson.u.washington.edu}filter/to-help,
#                  Widget-Project   {carson.u.washington.edu}filter/to-widget,
#                  Old-Student-Acct {imap.berkeley.edu}inbox
incoming-folders=

# One or more collections where saved messages are stored. 
# The first one is the default collection for saves.  For example:
# folder-collections=saved-email     mail/[],
#                    widget-project  widget/[]
folder-collections=Primary mail/[],
	cap		mail/CAP/[],
	csc             mail/CSC/[],
	shiva           mail/SHIVA/[],
	folk            mail/FOLK/[],
	smug            mail/SMUG/[],
	hensa-news      mail/HENSA/[],
	solaris         mail/SOL2/[],
	network         mail/JIPS/[],
	sun-managers    mail/SUN/[],
	macintosh       mail/MAC/[],
	networking      mail/NET/[],
	arns            mail/ARNS/[],
	sweby           mail/PETE/[],
	sun-announcements     mail/PLUG/[]

# One or more collections of news folders (e.g. *{news.u.washington.edu/nntp}[])
news-collections=

# The folder where a copy of read mail is saved.
read-message-folder=

# Filename of addressbook or full path name.
address-book=

# feature-list= comma-separated list of features from the following set:
# Note: the value "old-growth" is shorthand for the indicated features...
# enable-full-header-cmd        (included in old-growth set)
# enable-unix-pipe-cmd          (included in old-growth set)
# enable-bounce-cmd             (included in old-growth set)
# enable-alternate-editor-cmd   (included in old-growth set)
# enable-suspend                (included in old-growth set)
# enable-tab-completion         (included in old-growth set)
# enable-jump-shortcut          (included in old-growth set)
# quit-without-confirm          (included in old-growth set)
# enable-goto-cmd               (included in old-growth set)
# enable-apply-cmd              (included in old-growth set)
# enable-flag-cmd               (included in old-growth set)
# enable-zoom-cmd               (included in old-growth set)
# enable-forward-as-MIME
# expanded-view-of-folders
# use-function-keys
# include-header-in-reply
# signature-at-bottom
# show-all-characters
# delete-skips-deleted
# e.g.
# feature-list= old-growth, signature-at-bottom
feature-list=old-growth,
	signature-at-bottom

# Pine executes these keys upon startup (e.g. to view msg 13: i,j,1,3,CR,v)
initial-keystroke-list=

# saved-msg-name-rule= determines default folder name for Saves...
# Choose one: default-folder, by-sender, by-recipient last-folder-used
# Normal default is "default-folder"
saved-msg-name-rule=

# sort-key= order in which messages will be presented...
# Choose one: subject, from, arrival, date, cc, to, size
# Normal default is "arrival"
sort-key=date

# Version of Pine used last session (set automatically)
last-version-used=3.88

# personal-name specifies your full name as it should appear on outgoing 
mail.
# If unset, Unix Pine will obtain your full name from the system passwd file.
personal-name=D.J.Peacock
# Will display all text without checking whether or not it is displayable
show-all-characters=

Hmm - should those last lines be there ?
    - they duplicate earlier lines functionality - removed them and
    - all seems well now !

Here is the log from when pine3.88 was breaking

Debug output of the Pine program (at debug level 2).  Version 3.88
Tue Dec  7 10:21:34 1993

reading_pinerc "/usr/local/lib/pine.conf"
Read 2437 characters
pinerc : /usr/local/l :              printer : "2"
pinerc : /usr/local/l :          user-domain : "reading.ac.uk"
pinerc : /usr/local/l : use-only-domain-name : "no"
pinerc : /usr/local/l :       elm-style-save : "no"
pinerc : /usr/local/l :      header-in-reply : "no"
pinerc : /usr/local/l :          default-fcc : ""
pinerc : /usr/local/l :        bugs-nickname : "advisory"
pinerc : /usr/local/l :        bugs-fullname : "CSC Advisory"
pinerc : /usr/local/l :         bugs-address : "[email-masked]"
pinerc : /usr/local/l :               editor : "/usr/local/emacs"
pinerc : /usr/local/l :        feature-level : "seedling"
pinerc : /usr/local/l :      old-style-reply : "yes"
pinerc : /usr/local/l :       mail-directory : "mail"
pinerc : /usr/local/l :         compose-mime : "yes"
pinerc : /usr/local/l :  show-all-characters : "yes"
reading_pinerc "/home/sufs1/ru8/su/suqpecoc/.pinerc"
Read 5689 characters
pinerc : /home/sufs1/ :        personal-name : "D.J.Peacock"
pinerc : /home/sufs1/ :              printer : "rsh sunserv lpr -Pcscpc"
pinerc : /home/sufs1/ : personal-print-comma : "rsh sunserv lpr -Pcscpc"
pinerc : /home/sufs1/ : last-time-prune-ques : "93.12"
pinerc : /home/sufs1/ :          default-fcc : "outgoing"
pinerc : /home/sufs1/ :               editor : "vi"
pinerc : /home/sufs1/ :        feature-level : "old-growth"
pinerc : /home/sufs1/ :       signature-file : ".tag"
pinerc : /home/sufs1/ :       mail-directory : "mail"
pinerc : /home/sufs1/ :   folder-collections : "Primary mail/[]"
pinerc : /home/sufs1/ :         feature-list : "old-growth"
pinerc : /home/sufs1/ :             sort-key : "date"
pinerc : /home/sufs1/ :    last-version-used : "3.88"
    personal-name :        D.J.Peacock            <unset>            <unset>
          user-id :            <unset>            <unset>            <unset>
      user-domain :            <unset>      reading.ac.uk      reading.ac.uk
      smtp-server :            <unset>            <unset>            <unset>
       inbox-path :            <unset>              inbox              inbox
 incoming-folders :            <unset>            <unset>            <unset>
folder-collection :    Primary mail/[]            <unset>    Primary mail/[]
 news-collections :            <unset>            <unset>            <unset>
      default-fcc :           outgoing                              outgoing
   mail-directory :               mail               mail               mail
read-message-fold :            <unset>            <unset>            <unset>
   signature-file :               .tag         .signature               .tag
     address-book :            <unset>       .addressbook       .addressbook
     feature-list :         old-growth            <unset>         old-growth
initial-keystroke :            <unset>            <unset>            <unset>
saved-msg-name-ru :            <unset>     default-folder     default-folder
         sort-key :               date            arrival               date
    character-set :            <unset>            <unset>            <unset>
           editor :                 vi   /usr/local/emacs                 vi
     image-viewer :            <unset>            <unset>            <unset>
use-only-domain-n :            <unset>                 no                 no
          printer : rsh sunserv lpr -P                  2 rsh sunserv lpr -P
personal-print-co : rsh sunserv lpr -P            <unset> rsh sunserv lpr -P
 standard-printer :            <unset>                 lp                 lp
last-time-prune-q :              93.12            <unset>              93.12
last-version-used :               3.88            <unset>               3.88
    bugs-nickname :            <unset>           advisory           advisory
    bugs-fullname :            <unset>       CSC Advisory       CSC Advisory
     bugs-address :            <unset> [email-masked] [email-masked]
   elm-style-save :            <unset>                 no                 no
  header-in-reply :            <unset>                 no                 no
    feature-level :         old-growth           seedling         old-growth
  old-style-reply :            <unset>                yes                yes
     compose-mime :            <unset>                yes            <unset>
show-all-characte :            <unset>                yes            <unset>
   save-by-sender :            <unset>                 no                 no
Userid: suqpecoc
Fullname: "D.J.Peacock"
User domain name being used "reading.ac.uk"
Local Domain name being used "suma3"
Host name being used "suma3"
Mail Domain name being used "reading.ac.uk"
ioctl(TIOCWINSZ) failed :Invalid argument
Terminal type: vt100
Context mail/[] type: LOCAL
Context mail/CAP/[] type: LOCAL
Context mail/CSC/[] type: LOCAL
Context mail/SHIVA/[] type: LOCAL
Context mail/FOLK/[] type: LOCAL
Context mail/SMUG/[] type: LOCAL
Context mail/HENSA/[] type: LOCAL
Context mail/SOL2/[] type: LOCAL
Context mail/JIPS/[] type: LOCAL
Context mail/SUN/[] type: LOCAL
Context mail/MAC/[] type: LOCAL
Context mail/NET/[] type: LOCAL
Context mail/ARNS/[] type: LOCAL
Context mail/PETE/[] type: LOCAL
Context mail/PLUG/[] type: LOCAL
About to open folder "INBOX"    inbox: "INBOX"
Opened folder "/var/mail/suqpecoc" with 41 messages
Sorting by date

    ---- MAIN_MENU_SCREEN ----

 ---- MAIL INDEX ----
IMAP 10:21 12/7 mm_log ERROR: mail/SUN/xterm is not a valid mailbox

    ---- FOLDER SCREEN ----
broach folder, name entered "SUN"
About to open folder "SUN"    inbox: "INBOX"
Close - saved inbox state: real 35, max 41
IMAP 10:22 12/7 mm_log ERROR: mail/SUN is not a mailbox
MAIL_CMD: quit

    ---- QUIT SCREEN ----
expunge and close mail stream "/var/mail/suqpecoc"
about to end_tty_driver

David Peacock            [email-masked]
Computer Services Centre, University of Reading, 
Whiteknights, Reading, Berkshire,  RG6 2AF,  UK.