Subject: Pine 3.90 .mailcap

From: [email-masked] (Andrew Daviel)
Date: 1 Sep 1994 00:30:33 GMT

I found that Pine mailcap.c doesn't like blank lines, so that
it said my .mailcap from Mosaic was empty. Added a few ##, et voila!

I've only tried an .au file so far. The old mechanism of specifying
an image viewer still works; I haven't investigated whether
I get the xv/xloadimage split defined below.

FYI:

# This is a simple example mailcap file.
# Lines starting with '#' are comments.
#
# This maps all types of audio data (audio/basic, audio/x-aiff,
# etc.) to the viewer 'showaudio'.  Note that '%s' means 'put the
# datafile name here when the viewer is executed'.
audio/snd; play -t .sndt %s
audio/SBVOC; play -t .voc %s
audio/BASIC; showaudio %s 
Audio/BASIC; showaudio %s 
audio/*; play %s 
#
image/gif; xloadimage -fit %s
#
# This maps all types of images (image/gif, image/jpeg, etc.)
# to the viewer 'xv'.
image/*; xv %s
#
# This maps MPEG video data to the viewer 'mpeg_play'.
video/mpeg; mpeg_play %s
#
# This maps all types of video *other than MPEG* to the viewer
# 'genericmovie'.
video/*; genericmovie %s
#
drawing/hpgl; hp2xx -w500 -h300 %s 
#drawing/hpgl; cp %s /tmp
#
application/postscript; ghostview %s 
application/x-dvi; xdvi %s

--
</pre><p>
<a href="http://sundae.triumf.ca/~andrew">     Andrew Daviel
</a>, <a href="http://www.triumf.ca">          TRIUMF
</a>,                                          Vancouver, Canada
</a></p><img src=
"http://sundae.triumf.ca/~andrew/sig2t.gif">
<br><a href="mailto:[email-masked]">          [email-masked]
</a>