I am having trouble viewing an HTML message. Nail natively seems to work with
simple HTML messages that I create and email to myself. However commercially
created emails with multi-part doesn't render in lynx.

I have nail version v14.9.15, 2019-08-17 (built for OpenBSD) and I am working
through the example in the man page below (without the ? marks). The second
part viewing PDFs works fine. The first part to view a fancy HTML doesn't work.
I installed lynx. I think the issue is with mathml which I don't quite
understand what that is doing with regard to the first part of defining a pipe
to lynx. I don't see anything related to mathml in the packages.

When I view an HTML message with the "p" command it views the text displayable
version, as expected. When I use the mimeview command it just displays a blank
or two of lines and no text.


? if [ "$features" !% +filter-html-tagsoup ]
?   #set pipe-text/html='?* elinks -force-html -dump 1'
?   set pipe-text/html='?* lynx -stdin -dump -force_html'
?   # Display HTML as plain text instead
?   #set pipe-text/html=?
? endif
? mimetype ? application/mathml+xml mathml
? wysh set pipe-application/pdf='?&=? \
    trap "rm -f \"${MAILX_FILENAME_TEMPORARY}\"" EXIT;\
    trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
    mupdf "${MAILX_FILENAME_TEMPORARY}"'

Am I misunderstanding how this macro works?

Thanks.

Jon

Reply via email to