Subject: exact use of .mailcap

From: "W. Holemans" <[email-masked]>
Date: Mon, 29 Aug 1994 12:13:17 GMT

I'm trying the new opions of pine 3.90. So far everything worked as expected
but now i'm experimenting with the mailcap feature and this gives me some
problems. Just as some other people on this list i didn't find the demo 
mailcap file in the distribution but i downloaded metamail 2.7 and used
that one as an example. I copied it to ~/.mailcap and in the pine debug
file i can find an entry that the mailcap is found and read (and also some
messages about ignoring some lines).
In the mailcap file there is an entry for application/postscript that 
refers to the lpr command.
I mailed myself a postscript file as an attachement, but if i choose
attachement / view, i get an error saying no viewer is found.
What did i forget ? Is there a pinerc variable i have to set to enable
mailcap support ? If some features of the mailcap file are ignored, 
which are supported and where is this documented ?

I also didn't find information about multiple addressbooks at first 
sight, but maybe i should look closer.

-----------------------------------------------------------------------
Wim Holemans				phone + 32 3 820 22 03
Network/System manager			fax   + 32 3 820 22 44
U.I.A.
e-mail : [email-masked]
-----------------------------------------------------------------------

---

From: [email-masked] (Xander Jansen)
Date: Tue, 30 Aug 1994 12:28:57 GMT

Wim,

I fixed this by substituting ALL empty lines in the mailcap file with a
single # character (:1,$s/^$/#/ for vi adepts ;-).

It appears that Pine chokes on empty lines (regards them as the end of the
file) and never reaches the application/postscript definition.

Regards,

Xander
---

W. Holemans ([email-masked]) wrote:
: I'm trying the new opions of pine 3.90. So far everything worked as expected
: but now i'm experimenting with the mailcap feature and this gives me some
: problems. Just as some other people on this list i didn't find the demo 
: mailcap file in the distribution but i downloaded metamail 2.7 and used
: that one as an example. I copied it to ~/.mailcap and in the pine debug
: file i can find an entry that the mailcap is found and read (and also some
: messages about ignoring some lines).
: In the mailcap file there is an entry for application/postscript that 
: refers to the lpr command.
: I mailed myself a postscript file as an attachement, but if i choose
: attachement / view, i get an error saying no viewer is found.
: What did i forget ? Is there a pinerc variable i have to set to enable
: mailcap support ? If some features of the mailcap file are ignored, 
: which are supported and where is this documented ?

: I also didn't find information about multiple addressbooks at first 
: sight, but maybe i should look closer.

: -----------------------------------------------------------------------
: Wim Holemans				phone + 32 3 820 22 03
: Network/System manager			fax   + 32 3 820 22 44
: U.I.A.
: e-mail : [email-masked]
: -----------------------------------------------------------------------