nmh-workers
[Top] [All Lists]

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

2012-12-06 05:27:16
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).

Cheers, Ralph.

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

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