mutt/mailcap

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

michael@478 1 ##
michael@478 2 ## @l_prefix@/etc/mutt/mailcap -- Global Mutt Mail Capability Database
michael@478 3 ## Copyright (c) 1998-2003 Ralf S. Engelschall <rse@engelschall.com>
michael@478 4 ##
michael@478 5
michael@478 6 text/html; (w3m %s) 2>/dev/null || (lynx %s) 2>/dev/null || mozilla -remote openURL\(%s\); nametemplate=%s.html
michael@478 7 text/html; (w3m -dump %s) 2>/dev/null || (lynx -dump %s) 2>/dev/null || cat; nametemplate=%s.html; copiousoutput
michael@478 8 image/*; (display %s) 2>/dev/null || xv %s
michael@478 9 image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | pgmtopbm | pbmtoascii -1x2) 2>&1; copiousoutput
michael@478 10 video/*; mplayer %s
michael@478 11 application/pdf; (acroread %s) 2>/dev/null || (mgv %s) 2>/dev/null || (gv %s) 2>/dev/null || (ghostview %s) 2>/dev/null || gs %s
michael@478 12 application/postscript; (mgv %s) 2>/dev/null || (gv %s) 2>/dev/null || (ghostview %s) 2>/dev/null || gs %s
michael@478 13 application/x-dvi; xdvi %s
michael@478 14 application/vnd.ms-powerpoint; (msov --format=ppt %s) 2>/dev/null || openoffice %s
michael@478 15 application/vnd.ms-excel; (msov --format=xls %s) 2>/dev/null || openoffice %s
michael@478 16 application/vnd.ms-word; (msov --format=doc %s) 2>/dev/null || openoffice %s
michael@478 17 application/msword; (msov --format=doc %s) 2>/dev/null || openoffice %s
michael@478 18

mercurial