Subject: UUDeview decoding support Hi Folks, I have written a patch to Mutt (version 0.44) to integrate decoding support using the UUDeview Decoding Library. UUDeview is a powerful decoder for mail messages or usenet postings, which is built around a library that can be used in other applications. While Mutt supports only Base64 natively, UUDeview can also extract uu- encoded and BinHex-encoded data, and has no difficulties with multi-part messages (encoded data split over several mails). The patch adds a new command to Mutt, "deview-message", which is bound to 'V' by default (with the rest of the alphabet already reserved ). Upon invocation, the current message or all tagged messages are scanned for encoded data. The decodeable files are then presented one-by-one for extraction. Especially because of my changes to configure.in and all the resulting line number information changes in configure, the patch got a little large at 37k (compressed 7k), so I haven't posted it here. Besides the patch, you'd need UUDeview (version 0.5.5 or higher), available from http://www.uni-frankfurt.de/~fp/uudeview/ After installing the patch, all you need is to re-run configure with the switch --with-uudeview=/path/to/uudeview-0.5.7/uulib Would you mind if I posted the patch here? Is anybody interested at all? Have fun, Frank -- + Frank Pilhofer fp@informatik.uni-frankfurt.de + | Darmstaedter Str. 22 http://www.uni-frankfurt.de/~fp/ | | 63225 Langen, Germany RAD Host | +---------------------------------------------------------------------------+ | "It's no use. She'll never see me as anything - but a monster" -- Beast | > On Sep 25, Frank Pilhofer wrote: > > > > Would you mind if I posted the patch here? > > Is anybody interested at all? > > Frank: > > This sounds really neat. If the patch is huge, just give us a URL pointer > perhaps? > Splendid idea indeed. You can now download the patch (8k) as http://www.uni-frankfurt.de/~fp/uudeview/patches/mutt-0.44-uudeview.diff.gz (for those who haven't read my last message: this patch adds to Mutt the decoding powers of the UUDeview Decoding Library, which supports uu/xx/Base64 and BinHex decoding) Besides this patch, you need the UUDeview package, which can be downloaded as http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/uudeview-0.5.7.tar.gz The patch applies to a freshly-extracted mutt-0.44-export.tar.gz. 1.) Extract, ./configure and compile UUDeview 2.) Step to the patched Mutt. ./configure now has an additional switch: --with-uudeview=/path/to/uudeview You must give the path of the UUDeview source directory here. As an alternative, you could make a symbolic link from UUDeview's "uulib" subdirectory into the Mutt directory. 3.) Compile and install the new Mutt. There is now the new command deview-message, which is by default bound to the 'V' key (there weren't many others left ). This decodes all encoded data from the current or tagged messages. It should also work with multi-part files (one file in many mails), or even with most broken MIME messages ;) I would love to offer the patch for integration in the main source, if you find it worthy and useful. It's small, it's configurable, so it certainly wouldn't hurt ... well, just a suggestion. Comments welcome, Frank -- + Frank Pilhofer fp@informatik.uni-frankfurt.de + | Darmstaedter Str. 22 http://www.uni-frankfurt.de/~fp/ | | 63225 Langen, Germany RAD Host | +---------------------------------------------------------------------------+ | "It's no use. She'll never see me as anything - but a monster" -- Beast |