nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Message with repeated content


From: Paul Fox
Subject: Re: [Nmh-workers] Message with repeated content
Date: Thu, 05 Jun 2014 12:02:10 -0400

address@hidden wrote:
 > Ken Hornstein <address@hidden> writes:
 > 
 > >The simplest way might be to invoke mhshow with an alternate profile
 > >(using the MHSHOW environment variable) that does not include a text/html
 > >content type handler; that would make it fall back to the text/plain part.
 > >That would require you to know beforehand that it's a multipart/alternative
 > >so thats not wonderful.
 > 
 > As I read the mhshow man page, that variable designates a file which is
 > additive to, not alternative to ~/.mh_profile. Indeed,
 > 
 >      MHSHOW=/dev/null mhshow
 > 
 > seems to be the same as mhshow. So if there is a text/html
 > content type handler in ~/.mh_profile, I would have to somehow cancel it.
 > How would I do that?

create a file containing an empty entry for the content-type you
want to cancel.  e.g.:

    echo "mhshow-show-text/html:" > /tmp/mhn.block_html
    MHSHOW=/tmp/mhn.block_html mhshow -type text/plain "$@"

paul
=----------------------
 paul fox, address@hidden (arlington, ma, where it's 54.5 degrees)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]