mutt.octet.filter - Octet filter for use with the mutt autoview facility
Copyright (C) 1997,1998,1999,2000 David A Pearson

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the license, or 
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.



This script file is a pretty brain-dead, last resort, "works for me"
utility that will attempt to make sense of any octet-stream data
that is received as part of an email and act as a filter for use
with mutt's auto_view ability.

Here is how I use it. In my ~/.mutt_mailcap (use your filename of
choice) I have the following entry:

application/octet-stream; mutt.octet.filter %s; copiousoutput

All you then need to do is add a line like:

auto_view application/octet-stream 

to your ~/.muttrc (use your filename of choice).

In it's current state the script isn't perfect, it's your typical
"works for me" type of script and is offered in the hope that it
maybe handy and that you can do something with it.

All comments/flames/feedback can be directed to:

davep@davep.org