Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use Links for text/html' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use Links for text/html
Authored by: googoo on Dec 02, '04 02:12:37PM
If you would rather use links (or another terminal-based browser) for text/html messages, just use this line in your .mailcap file.

text/html; links -dump %s; needsterminal; copiousoutput;

Substitute the executable browser of your choice for links above.

-Mark

[ Reply to This | # ]

Use Links for text/html
Authored by: bluehz on Dec 03, '04 08:22:28AM

Similar to what I use...

text/html; open -a Safari '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
image/gif; open -a Preview %s
image/jpg; open -a Preview %s; needsterminal; description=JPEG Image; nametemplate=%s.jpg
image/jpeg; open -a Preview %s; needsterminal; description=JPEG Image; nametemplate=%s.jpg
text/text; open -a BBEdit '%s'; needsterminal; description=Text Text; nametemplate=%s.txt
application/pdf; open -a Preview '%s' -; copiousoutput

although I might give the unified script a try too...



[ Reply to This | # ]