View Source:
CollectionOfScripts
Note:
This page has been locked and cannot be edited.
!!Mutt helper tools I've developed/modified/copied a number of small helper scripts for mutt over the years. These scripts help with things like converting weird mime attachments and converting html mail to text. I've tried to structure all my filter scripts to use either [w3m|http://w3m.sourceforge.net] or lynx for html-to-text conversion. I recommend w3m as it does a better job, but you have to compile and install it yourself. Here's my scripts along with a few from other people, as noted: * [view-html|http://www.hollenback.net/mutt/view-html] - convert html to text. Requires w3m or lynx. * [view-excel|http://www.hollenback.net/mutt/view-excel] - convert excel spreadsheets to html and then to text. Requires xlHtml and w3m or lynx. * [view-msword|http://www.hollenback.net/mutt/view-msword] - convert word docs to html and then to text. Requires wvWare and w3m or lynx. * [octet-filter|http://www.hollenback.net/mutt/octet-filter] - the default MIME type for data is application/octet-stream. This script takes attachments of this type and uses file(1) on them to try and determine what viewer to use. Modified from original at [davep's mutt page|http://www.davep.org/mutt/]. * [vcard-filter|http://www.hollenback.net/mutt/vcard-filter] - vcards are electronic business cards. Netscape mailers in particular often attach these to messages. This perl script decodes vcards and prints them as text. From [davep's mutt page|http://www.davep.org/mutt/]. * [tnef2txt|http://www.fiction.net/blong/programs/tnef2txt/] - Microsoft mailers occasionally use the transport neutral encoding format, some sort of encapsulation mechanism. This filter will show the details of tnef-encoded attachments. Note that this is the source location, you may be able to find binaries for your platform elsewhere. * [lyx2txt|http://www.hollenback.net/mutt/lyx2txt] - a script to convert lyx documents into text. This is a little difficult as lyx won't operate on streams. * [rtfreader|http://www.fiction.net/blong/programs/#rtf] - converts rich text format docs into text. Microsoft docs are occasionally exported in to this format. Note that this is the source, you can find binaries for your platform elsewhere. * [ispeller.pl|http://www.hollenback.net/mutt/ispeller.txt] - a script to call ispell on just the body of a message, not the whole thing. "set ispell=ispeller.pl" in your .muttrc to use. !!Additional programs you will need: * [w3m|http://w3m.sourceforge.net] - an alternative text web browser. Much better table support than lynx. * [wvWare|http://wvware.sourceforge.net/] - converts microsoft word documents to various formats. * lynx - the standard text web browser, so I don't include it here. Use if you don't have w3m, works ok. * [xlHtml|http://chicago.sourceforge.net/xlhtml/] - converts excel spreadsheets into html. !!Sites to check out These are good sources for mutt helper scripts: * [davep's mutt page|http://www.davep.org/mutt] * [Brandon Long's program page|http://www.fiction.net/blong/programs/] %%% And finally, take a look at my [sampleDotMailcap] for examples on how to use these scripts. --phil 6/19/01 CategoryGeekStuff
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In