Nick Coghlan | 029ba2b | 2011-08-22 16:05:44 +1000 | [diff] [blame] | 1 | # Mailcap file for test_mailcap; based on RFC 1524 |
| 2 | # Referred to by test_mailcap.py |
| 3 | |
| 4 | # |
| 5 | # This is a comment. |
| 6 | # |
| 7 | |
| 8 | application/frame; showframe %s; print="cat %s | lp" |
| 9 | application/postscript; ps-to-terminal %s;\ |
| 10 | needsterminal |
| 11 | application/postscript; ps-to-terminal %s; \ |
| 12 | compose=idraw %s |
| 13 | application/x-dvi; xdvi %s |
| 14 | application/x-movie; movieplayer %s; compose=moviemaker %s; \ |
| 15 | description="Movie"; \ |
| 16 | x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm" |
| 17 | application/*; echo "This is \"%t\" but \ |
| 18 | is 50 \% Greek to me" \; cat %s; copiousoutput |
| 19 | |
| 20 | audio/basic; showaudio %s; compose=audiocompose %s; edit=audiocompose %s;\ |
| 21 | description="An audio fragment" |
| 22 | audio/* ; /usr/local/bin/showaudio %t |
| 23 | |
| 24 | image/rgb; display %s |
| 25 | #image/gif; display %s |
| 26 | image/x-xwindowdump; display %s |
| 27 | |
| 28 | # The continuation char shouldn't \ |
| 29 | # make a difference in a comment. |
| 30 | |
| 31 | message/external-body; showexternal %s %{access-type} %{name} %{site} \ |
| 32 | %{directory} %{mode} %{server}; needsterminal; composetyped = extcompose %s; \ |
| 33 | description="A reference to data stored in an external location" |
| 34 | |
| 35 | text/richtext; shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo \ |
| 36 | %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-8; copiousoutput |
| 37 | |
| 38 | video/mpeg; mpeg_play %s |
| 39 | video/*; animate %s |