nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhshowing a specific mime part

2012-12-06 07:09:24
ralph wrote:
Hi Paul,

    $ mhlist
     msg part  type/subtype              size description                  
       
     123       multipart/mixed           7746
         1     multipart/alternative     7287
         1.1   text/html                 3850
         1.2   text/plain                2987
         2     text/plain                 138
    $ mhshow -part 1.1
    Date:    Wed, 05 Dec 2012 11:41:19 -0500
    To:      ...
    cc:      ...
    From:    ...
    Subject: ...
    In-Reply-To: ...


    mhshow: don't know how to display any of the contents
            (content multipart/alternative in message 123, part 1)

Presumably -part 1.2 works OK?  I've

    $ g html ~/.mh_profile
    mhshow-suffix-text/html: .html
    mhshow-show-text/html: lynx -dump -width `tput cols` '%F' | expand | sed 
's/  *$//' | cat -s | m
    $

See mhshow(1).  ~/bin/m is an exec of less(1).

doh!  while testing that i forgot that i normally disable text/html by
default (in order to force selecting the text part), and that i'd have
to set a special $MHSHOW in this case.

paul
p.s.  sorry for the dup posting -- sent one from my work address, and
when it didn't come back right away, figured it had been dropped, and
sent another.

=---------------------
 paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 24.6 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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