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

2008-08-04 Thread Josh Bressers
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@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers


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

2008-08-04 Thread Jerrad Pierce
Doh! Of course, showmimeproc.

Thanks :-{
-- 
Free map of local environmental resources: http://CambridgeMA.GreenMap.org
--
MOTD on Sweetmorn, the 70th of Confusion, in the YOLD 3174:
The meek will inherit the earth; the rest of us will go to the stars.


___
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers


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

2008-08-04 Thread Eric Gillespie
Jerrad Pierce writes:

> How can I disentangle the evil that are mhshow and mhl from nmh?
> 
> In nmh 1.0 I was able to set showproc and moreproc in mh_profile to less
> and view my messages in piece (text files in a text viewer, the novelty).
> But I just installed 1.3 on another box (RHEL4 with Fedorqa SRPM) and it
> seems even with these settings, mhshow is invoked. It's annoying because
> mhshow decided it needs to do something special with signatures, perceiving
> them as text/plain and trying to invoke xterm...

This works well for me:

#: mhshow sucks; I'll run it by hand if I need to
showmimeproc: mhl

You complained about mhl, so I guess showmimeproc: less would
work, but you shouldn't need to.  It's mhshow that wants to do
the crazy stuff; mhl just formats the headers and shows you the
body raw.

-- 
Eric Gillespie <*> [EMAIL PROTECTED]


___
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers


[Nmh-workers] MIME sucks, death to mhl

2008-08-04 Thread Jerrad Pierce
How can I disentangle the evil that are mhshow and mhl from nmh?

In nmh 1.0 I was able to set showproc and moreproc in mh_profile to less
and view my messages in piece (text files in a text viewer, the novelty).
But I just installed 1.3 on another box (RHEL4 with Fedorqa SRPM) and it
seems even with these settings, mhshow is invoked. It's annoying because
mhshow decided it needs to do something special with signatures, perceiving
them as text/plain and trying to invoke xterm...
-- 
Free map of local environmental resources: http://CambridgeMA.GreenMap.org
--
MOTD on Sweetmorn, the 70th of Confusion, in the YOLD 3174:
The meek will inherit the earth; the rest of us will go to the stars.


___
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers