@@ -1,26 +1,34 @@
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 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:
+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|ftp
://ftp
.hollenback.net/pub
/mutt/view-html] - convert html to text. Requires w3m or lynx.
-* [view-excel|ftp
://ftp
.hollenback.net/pub
/mutt/view-excel] - convert excel spreadsheets to html and then to text. Requires xlHtml and w3m or lynx.
-* [view-msword|ftp
://ftp
.hollenback.net/pub
/mutt/view-msword] - convert word docs to html and then to text. Requires wvWare and w3m or lynx
-* [octet-filter|ftp
://ftp
.hollenback.net/pub
/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 http://www.davep.org/mutt/.
-* [vcard-filter|ftp
://ftp
.hollenback.net/pub
/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 http://www.davep.org/mutt/.
-* [tnef2txt|ftp
://ftp
.hollenback
.net/pub
/mutt
/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 a Linux/x86 executable
, you will need the [source code|ftp://ftp.hollenback.net/pub/src/tnef2txt-1.4.tar.gz]
to compile on other architectures. From [Brandon's Program Archive|http://www.fiction.net/blong/programs/]
.
-* [lyx2txt|ftp
://ftp
.hollenback.net/pub
/mutt/lyx2txt] - a script to convert lyx documents into text. This is a little difficult as lyx won't operate on streams.
-* [rtfreader|ftp
://ftp
.hollenback
.net/pub
/mutt
/rtfreader
] - converts rich text format docs into text. Microsoft docs are occasionally exported in to this format.
Note this is a Linux/x86 binary
, you can compile from [source|ftp://ftp.hollenback.net/pub/src/ms-rtf.tar.gz]
for other platforms. From [Brandon's Program Archive|http://www.fiction.net/blong/programs/]
.
-* [ispeller.pl|ftp
://ftp
.hollenback.net/pub
/mutt/ispeller.pl
] - a script to call ispell on just the body of a message, not the whole thing. Use "set ispell=ispeller.pl" in your .muttrc to use.
+* [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. Use "set ispell=ispeller.pl" in your .muttrc to use.
-Additional programs you will need:
+!!
Additional programs you will need:
-* [w3m|ftp
://ftp
.hollenback
.net/pub/mutt/w3m
] - an alternative text web browser. Much better table support than lynx. This is a Linux/x86 binary, others should build from [ftp://ftp.hollenback.net/pub/src/w3m-0.1.10.tar.gz]
.
-* [wvWare|ftp
://ftp
.hollenback
.net/pub/rpms/wv-0.6.2-2.i386.rpm
] - converts microsoft word documents to various formats. Here's the [source|ftp://ftp.hollenback.net/pub/src/wv-0.6.2.tar.gz]
.
+* [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|ftp
://ftp
.hollenback
.net/pub
/rpms/xlHtml-0.2.6-2.i386.rpm
] - converts excel spreadsheets into html. You will also need [xlHtml-cole|ftp://ftp.hollenback.net/pub/rpms/xlHtml-cole-2.0.1-3.i386.rpm]. Or, you can built from [source|ftp://ftp.hollenback.net/pub/src/xlHtml-0.2.6.tar.gz]
.
+* [xlHtml|http
://chicago
.sourceforge
.net/xlhtml
/] - converts excel spreadsheets into html.
-Take
a look at my [sampleDotMailcap] for examples on how to use these scripts.
+!!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.