This is a simple filter that takes Sun OpenWindows 3 messages as input,
and produces MIME messages as output.  It's written in perl, so you
need perl installed to run it.

As shipped, the perl program may call uudecode to undo the effects of 
uuencoded files, and uuencode to convert binary files to base64 (!).
It calls "zcat" to uncompress files.  Finally, it needs a program
to convert Sun raster files to some other format (like GIF) that
MIME supports.  As supplied, it uses the "convert" program
(part of ImageMagick) to do this, but some other program or set
of programs (like the pbm stuff: "rasttopnm | ppmtogif") will also
work.  Just change the line that calls "convert" to use whatever you
have.

If you are using MH 6.8 or later with MIME support, put this in
your .mhn-profile file (or wherever $MHN points):

mhn-show-x-sun-attachment/: sun-to-mime.perl | mhn -file - -show


If you are using metamail, put this in your .mailcap file:

x-sun-attachment; sun-to-mime.perl < %s | metamail -T ; needsterminal


Enjoy!

Keith Moore
moore@cs.utk.edu
