1 # sample mailcap file 2 application/pgp;\ 3 pgp -m %s;\ 4 needsterminal 5 image/jpeg;\ 6 xv -8 -geometry +0 '%s';\ 7 description=JPEG Image;\ 8 test=test "$DISPLAY" 9 image/*;\ 10 xv -8 -geometry +0 '%s';\ 11 description=%t Image;\ 12 test=test "$DISPLAY";\ 13 nametemplate=%s.IMAGE 14 message/rfc822;\ 15 formail > '%s.mbox' < '%s' \&\& mutt -m mbox -f '%s.mbox' \&\& rm -f '%s.mbox';\ 16 description=Mail Text;\ 17 needsterminal 18 text/html;\ 19 lynx -force_html '%s';\ 20 description=HTML Text;\ 21 needsterminal;\ 22 nametemplate=%s.html 23 text/*;\ 24 ${PAGER:-"more"} '%s'\; 25 edit=${EDITOR:-"vi"} '%s';\ 26 compose=${EDITOR:-"vi"} '%s';\ 27 print=a2ps '%s';\ 28 needsterminal