]> git.pld-linux.org Git - packages/mailcap.git/blame - mailcap
- sorted
[packages/mailcap.git] / mailcap
CommitLineData
58b9ccb5 1image/*; /usr/bin/eog %s; test=[ -n "$DISPLAY" -a -x /usr/bin/eog ]
c9a1ea66 2image/*; /usr/bin/qiv %s; test=[ -n "$DISPLAY" ]
5cbb1063
TP
3
4audio/mod; /usr/bin/mikmod %s
c9a1ea66 5
5cbb1063
TP
6# play is apparently a security hole
7#audio/*; /usr/bin/play %s
c9a1ea66
TP
8audio/*; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
9audio/*; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer -vc null -vo null %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
10
11video/*; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
12video/*; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
13
14video/mpeg; /usr/bin/mplayer -vc null -vo null %s; test=[ -z "$DISPLAY" ]
15video/mpeg; /usr/X11R6/bin/xterm -name mplayer -e /usr/bin/mplayer %s & /bin/sleep 1; test=[ -n "$DISPLAY" ]
16
17application/pdf; /usr/bin/xpdf %s; test=[ -n "$DISPLAY" ]
18application/pdf; /usr/bin/pdftotext -layout -nopgbrk %s -; copiousoutput
19
20application/postscript; /usr/bin/gv -safer %s; test=[ -n "$DISPLAY" ]
21application/postscript; /usr/bin/ps2ascii %s; copiousoutput
22
23text/html; /usr/bin/htmlview %s; copiousoutput; test=[ -x /usr/bin/htmlview ]
24text/html; /usr/bin/elinks %s; nametemplate=%s.html; test=[ -z "$DISPLAY" ]
be909f25 25text/html; /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks %s & /bin/sleep 1; nametemplate=%s.html; test=[ -n "$DISPLAY" ]
c9a1ea66
TP
26text/html; /usr/bin/elinks -dump %s; copiousoutput
27
28#text/x-patch; /usr/bin/colordiff.pl < %s | less -r
29
30application/x-shockwave-flash; /usr/bin/swfplayer %s & sleep 2; test=[ -n "$DISPLAY" ]
31
c2140211
TP
32application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
33 cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
34 /usr/bin/elinks content.html\; \
35 /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
36
37application/vnd.sun.xml.writer; /usr/bin/oowriter %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
38
39application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
40 cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
41 { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks content.html\; \
42 /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
43
44application/vnd.sun.xml.writer; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
45 cd "$tmp"\; /usr/bin/soffice2html.pl %s\; \
46 /usr/bin/elinks -dump content.html\; \
47 /bin/rm -rf "$tmp"; copiousoutput
48
c9a1ea66
TP
49application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
50 /usr/bin/wvHtml %s --targetdir="$tmp" page.html -1\; \
51 /usr/bin/elinks "$tmp/page.html"\; \
52 /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
53
54application/msword; /usr/bin/oowriter %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
55
56application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
57 /usr/bin/wvHtml %s --targetdir="$tmp" page.html\; \
be909f25 58 { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
c9a1ea66
TP
59 /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
60
61application/msword; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
62 /usr/bin/wvHtml %s --targetdir="$tmp" page.html -1\; \
63 /usr/bin/elinks -dump "$tmp/page.html"\; \
64 /bin/rm -rf "$tmp"; copiousoutput
65
66application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
67 /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
68 /usr/bin/elinks "$tmp/page.html"\; \
69 /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
70
5a6a56ff
TP
71application/vnd.ms-excel; /usr/bin/oocalc %s; test=[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
72
c9a1ea66
TP
73application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
74 /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
be909f25 75 { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
c9a1ea66
TP
76 /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
77
78application/vnd.ms-excel; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
79 /usr/bin/xlhtml -a %s > "$tmp/page.html"\; \
80 /usr/bin/elinks -dump "$tmp/page.html"\; \
81 /bin/rm -rf "$tmp"; copiousoutput
82
83application/vnd.ms-powerpoint; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
84 /usr/bin/ppthtml %s > "$tmp/page.html"\; \
85 /usr/bin/elinks "$tmp/page.html"\; \
86 /bin/rm -rf "$tmp"; test=[ -z "$DISPLAY" ]
5cbb1063 87
5a6a56ff
TP
88application/vnd.ms-powerpoint; /usr/bin/ooimpress %s; test=[ -n "$DISPLAY" -a -x /usr/bin/ooimpress ]
89
c9a1ea66
TP
90application/vnd.ms-powerpoint; tmp=`/bin/mktemp -d %s.XXXXXX`\; \
91 /usr/bin/ppthtml %s > "$tmp/page.html"\; \
be909f25 92 { /usr/X11R6/bin/xterm -name xterm-elinks -e /usr/bin/elinks "$tmp/page.html"\; \
c9a1ea66 93 /bin/rm -rf "$tmp"\;} &; test=[ -n "$DISPLAY" ]
5cbb1063 94
c9a1ea66
TP
95application/vnd.ms-powerpoint; tmp=`/bin/mktemp %s.XXXXXX`\; \
96 /usr/bin/ppthtml %s > "$tmp"\; \
97 /usr/bin/elinks -dump "$tmp"\; \
98 /bin/rm -f "$tmp"; copiousoutput
5cbb1063 99
c9a1ea66 100application/x-rar-compressed; /usr/bin/rar v -c- %s; copiousoutput
c2140211 101application/x-zip-compressed; /usr/bin/unzip -v %s; copiousoutput
This page took 0.042637 seconds and 4 git commands to generate.