nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] MIME sucks, death to mhl

2008-08-04 17:57:10
On 4 August 2008 at 16:49, Jerrad Pierce wrote:
Doh! Of course, showmimeproc.


FWIW, here is how I deal with this.


I have a script called mh-showmime:
#!/bin/sh
if test $1 -gt 0 ; then
    mhshow -nopause -form /home/devel/bressers/.mh/mhl.format $* | lessr
else
    mhshow -nopause -form /home/devel/bressers/.mh/mhl.format -file $* | lessr
fi

lessr is just:
/usr/bin/less -REX $*

Then in my .mh_profile I set:
showmimeproc: mh-showmime

The result of this is all the mime bits are rendered for me and fed into
lessr.  Rather than seeing a message as numerous different chunks, I see
one nice long pretty message.

-- 
    JB


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>