-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mailcap
79 lines (68 loc) · 3.37 KB
/
.mailcap
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# mailcap - MIME configuration file
# From the attachment menu, if X is running, HTML attachments are sent
# to netscape for viewing; otherwise, they are sent to w3m. For
# in-line viewing, the HTML is converted to text.
#
# [Comment-out next line so that we can use w3m even within X.]
#text/html; mutt_netscape %s; test=RunningX
text/html; w3m %s; nametemplate=%s.html
text/html; w3m -dump %s; nametemplate=%s.html; \
copiousoutput
#text/html; elinks -dump -dump-charset iso-8859-15 -default-mime-type text/html
#%s; needsterminal; copiousoutput;
# Add capability to edit attachments from the compose menu.
#
# Mutt can only edit attachments if they have a mailcap edit entry.
# (This would be a good thing to fix.) However, a mailcap entry
# apparently must include the display function--it can't be defaulted.
# The combination "cat; copiousoutput" comes close to the default in
# that in invokes the default pager on the output of cat. However,
# there is apparently no way to specify the default editor--a shell
# environment variable such as $VISUAL or $EDITOR is as close as we can
# get.
#
text/*; cat; copiousoutput; edit=$VISUAL %s
message/rfc822; cat; copiousoutput; edit=$VISUAL %s
# The following Microsoft application MIME attachments are viewed from
# the attachment menu using QuickView Plus for UNIX.
#
#application/msword; mutt_bgrun antiword %s;
#test=RunningX
application/msword; antiword %s; copiousoutput
application/vnd.msword antiword %s; copiousoutput
#application/vnd.msword; mutt_bgrun qvpview %s; test=RunningX
#application/vnd.msword; word2text %s; copiousoutput
#
##application/excel; mutt_bgrun qvpview %s; test=RunningX
#application/excel; excel2text %s; copiousoutput
##application/msexcel; mutt_bgrun qvpview %s; test=RunningX
#application/msexcel; excel2text %s; copiousoutput
##application/vnd.ms-excel; mutt_bgrun qvpview %s; test=RunningX
#application/vnd.ms-excel; excel2text %s; copiousoutput
##application/x-excel; mutt_bgrun qvpview %s; test=RunningX
#application/x-excel; excel2text %s; copiousoutput
##application/x-msexcel; mutt_bgrun qvpview %s; test=RunningX
#application/x-msexcel; excel2text %s; copiousoutput
##application/ms-Excel; mutt_bgrun qvpview %s; test=RunningX
#application/ms-Excel; excel2text %s; copiousoutput
#
#application/vnd.ms-powerpoint; mutt_bgrun qvpview %s; test=RunningX
#application/vnd.ms-powerpoint; ppt2text %s; copiousoutput
#application/x-mspowerpoint; mutt_bgrun qvpview %s; test=RunningX
#application/x-mspowerpoint; ppt2text %s; copiousoutput
#application/ppt; mutt_bgrun qvpview %s; test=RunningX
#application/ppt; ppt2text %s; copiousoutput
#application/pdf; mutt_bgrun acroread +useFrontEndProgram %s; test=RunningX
application/pdf; pdftotext %s -; copiousoutput
application/postscript; mutt_bgrun ghostview %s; test=sh -c 'test $DISPLAY'
#application/rtf; mutt_bgrun qvpview %s; test=RunningX
application/rtf; rtf2text %s; copiousoutput
application/ms-tnef; tnef -w %s
#application/octet-stream; mutt.octet.filter -x %s; test=RunningX
#application/octet-stream; mutt.octet.filter -v %s
#application/octet-stream; mutt.octet.filter %s; copiousoutput
#application/octet-stream; mutt_octet_view -x %s; test=RunningX
#application/octet-stream; mutt_octet_view -v %s
#application/octet-stream; mutt_octet_view %s; copiousoutput
image/*; mutt_bgrun feh %s; test=sh -c 'test $DISPLAY'
image/*; fbv %s