Subject: Using MH folders - how?

From: [email-masked] (Timo Lehtinen)
Date: 12 Mar 1996 14:06:31 GMT

How can I persuade Pine (running on LINUX) to treat ~/Mail as 
an MH style folder collection.  I've tried every imaginable
permution using #mh/ in my .pinerc "folder-collections=" line
with no success.

I am a long time MH user who would like to try out Pine if it
only could access my existing MH folder tree ...

TIA,

Timo

---

From: Jeffrey Goldberg <[email-masked]>
Date: Fri, 15 Mar 1996 17:42:52 +0000

-----BEGIN PGP SIGNED MESSAGE-----

> permution using #mh/ in my .pinerc "folder-collections=" line

My .pinerc has something like this:
folder-collections=Main mail/[],
        Computer-Centre mail/CCC/[],
        Email mail/Email/[],
        People mail/People/[],
        PGP mail/PGP/[],
        Mngmt-CM mail/Mgmt/[],
        Usenet mail/Usenet/[],
        Linguistics mail/Ling/[],
        WWW mail/WWW/[],
        Business mail/Biz/[],
        Hungarian mail/Magyar/[],
        MH #mh/[],
        TeX mail/TeX/[]

It works except that I can't get pine to read ~/Mail/inbox (MH's "inbox")

- -jeff
- --
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 [email-masked]     http://WWW.Cranfield.ac.uk/public/cc/cc047/

---

From: [email-masked] (Simon Bennett)
Date: Sun, 17 Mar 1996 06:21:37 GMT

Jeffrey Goldberg ([email-masked]) wrote:
: -----BEGIN PGP SIGNED MESSAGE-----

: On 12 Mar 1996, Timo Lehtinen wrote:

: > How can I persuade Pine (running on LINUX) to treat ~/Mail as 
: > an MH style folder collection.  I've tried every imaginable
: > permution using #mh/ in my .pinerc "folder-collections=" line
: > with no success.

: My .pinerc has something like this:
: folder-collections=Main mail/[],
:         Computer-Centre mail/CCC/[],
:         Email mail/Email/[],
:         People mail/People/[],
:         PGP mail/PGP/[],
:         Mngmt-CM mail/Mgmt/[],
:         Usenet mail/Usenet/[],
:         Linguistics mail/Ling/[],
:         WWW mail/WWW/[],
:         Business mail/Biz/[],
:         Hungarian mail/Magyar/[],
:         MH #mh/[],
:         TeX mail/TeX/[]

: It works except that I can't get pine to read ~/Mail/inbox (MH's "inbox")

Unless PINE's got a new feature I don't know about, it can't read the MH style
messages (which are stored in separate files) - you can however convert MH
"folders" into mail style files which can be read by pine/elm/mailx etc..  The
easiest way is to use packmbox.sh which comes in the MH 6.8 ditribution.

If you end up hating PINE you can always go back to MH by re inc'ing the PINE
files back into MH "folders".

--
+----------------------------------------------------------------------------+
  Simon Bennett       [email-masked]
  Wormald Technology  Advanced Systems Engineering Ph: +61 2 9981 0611 (x512)

			Common Sense doesn't seem to be

---

From: Mark Crispin <[email-masked]>
Date: Sun, 17 Mar 1996 17:01:28 -0800

Pine supports MH folders.

Your .mh_profile file must define the Path:.  Maybe you have a tab after
"Path:" instead of a space?

> files back into MH "folders".

-- Mark --

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.

---

From: Jeff Scarborough <[email-masked]>
Date: Mon, 18 Mar 1996 09:05:53 -0700

Jeffrey Goldberg wrote:
> ...
> ...

You can get pine to read your inbox, it even does an inc at the
appropriate times (at startup and when you ask to see new mail). In
addition to setting your folder collections set your inbox-path also
like this:

# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
# Normal Unix default is the local INBOX (usually
/usr/spool/mail/$USER).
inbox-path=#MHINBOX

--
Jeff Scarborough              [email-masked]
University of Colorado        Computing & Network Services
Campus Box 455                Boulder, Colorado 80309-0455

---

From: Ben Norwood <[email-masked]>
Date: Thu, 21 Mar 1996 15:00:31 +0000

>files back into MH "folders".

At UWA (Uni of Wales Aberystwyth) the 'supported mail programs' use mh,
but until demand is sufficient and the Pine development team include mh
support, Pine users here are stuck with having to use pine's own folder
system. No doubt it will be the same with your system.

 _            http://www.aber.ac.uk/~bdn5  "If thou hast gathered nothing
| \     |\  |             [email-masked]   in thy youth, how canst thou
|-<     | \ |       UWA Biology Undergrad   find anything in thine age?"
|_/ en  |  \| orwood                            Ecclesiasticus 25:3

---

From: David L Miller <[email-masked]>
Date: Thu, 21 Mar 1996 22:35:11 -0800 (PST)

> system. No doubt it will be the same with your system.

Pine has included MH support since at least Pine 3.90.  The MH INBOX
can be specified with

	inbox-path=#MHINBOX

And your other folders in ~/Mail/ can be referenced with

	folder-collections=#MH/[]

Sub-folders are a bit tricker; you need to specify them as separate
collections, e.g. for the folders in ~/Mail/foo/, specify

	folder-collections=#MH/foo/[]

Putting the whole hierarchy in one collection will probably be
available in about Pine 4.1 (maybe even 4.0).

|\ |  |\/|  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: Mark Crispin <[email-masked]>
Date: Fri, 22 Mar 1996 00:01:30 -0800

Pine supports MH folders and has done so for some time.

The MH inbox is accessed as #mhinbox.

Other folders are accessed as #mh/foo (for ~/Mail/foo), etc.

-- Mark --