summaryrefslogtreecommitdiffstats
path: root/mailcap
blob: 28a8071adbacdead6bc750d5c244234f62fdf80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# html
text/html; w3m -dump -I %{charset} -T text/html %s; needsterminal; copiousoutput

# application/octet-stream
#application/octet-stream; mutt.octet.filter %s; needsterminal; copiousoutput

# pgp encrypted
multipart/encrypted; showencrypted %{boundary} %s; \
	test=test %{protocol} = application/pgp-encrypted; needsterminal
multipart/signed; showsigned %{boundary} %s; \
	test=test %{protocol} = application/pgp-signature; needsterminal

#application/octet-stream; gpg -d < %s ; needsterminal; \
#	test=/usr/local/bin/is-pgp ; copiousoutput

application/pgp; gpg < %s ; needsterminal; \
	test=test %{encapsulation}=entity

application/pgp-encrypted; gpg < %s ; needsterminal; \
	test=test %{encapsulation}=entity ; copiousoutput

application/x-tar; tar -tf %s ; copiousoutput

# office
application/pdf; evince %s
application/msword; libreoffice %s

# pictures
image/png; gpicview %s
image/jpeg; gpicview %s
image/jpg; gpicview %s
image/gif; gpicview %s