# Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
# 
# Permission to use, copy, modify, and distribute this material 
# for any purpose and without fee is hereby granted, provided 
# that the above copyright notice and this permission notice 
# appear in all copies, and that the name of Bellcore not be 
# used in advertising or publicity pertaining to this 
# material without the specific, prior written permission 
# of an authorized representative of Bellcore.  BELLCORE 
# MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
# OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
# Prototype Mailcap file
# Note that support for text & multipart are "built in" to metamail,
# as are rudimentary support for message, and application.
# However, any of these may be overridden in mailcap.
#
# Note that users may override or extend this with a .mailcap
# file in their own directory.  However, there is NO NEED
# for them to copy entries from this file, as metamail will
# pick up entries from both the system and personal mailcap files.
#

#
# Text
#
text/richtext; Ishmail; \
	print="cat %s | rt2ps | lp"
text/enriched; Ishmail; \
	print="cat %s | et2ps | lp"
text/x-html; rMosaic -dil %s

#
# Image
#
image/*; showimage %t %s

#
# Audio
#
audio/x-adpcm-compress; /usr/openwin/bin/adpcm_dec | showaudio -
audio/*; showaudio -

#
# Video
#
video/mpeg; mpeg_play %s

#
# Application
#
application/frame; maker -f %s; \
	print="cat %s | lp"
application/x-frame; maker -f %s; \
	print="cat %s | lp"
application/x-framemaker; maker -f %s; \
	print="cat %s | lp"
application/x-mif; maker -f %s; \
	print="cat %s | lp"

application/x-des; xterm -e /bin/sh -c 'cat %s | des -d %{method} -k %{key} | less'
application/x-program-listing; Ishmail; \
	print="cat %s | lp"

#
# If you have an interactive Postscript interpreter, you should think carefully 
# before replacing lpr with it in the following line, because PostScript
# can be an enormous security hole.  It is RELATIVELY harmless
# when sent to the printer...
#
application/postscript; ghostview %s; \
	label="A Postscript File"; \
	compose="getfilename Postscript %s"; \
	print="cat %s | lp"; \
	composetyped="gettypedfile %s"

#
# External
#
message/external-body; showextern '%s' '%{access-type}' '%{name}' '%{site}' '%{directory}' '%{mode}' '%{ruser}' '%{rpwd}' '%{server}' '%{subject}'
