Eric Ford <[EMAIL PROTECTED]> writes:
> I get a fair amount of email with html code in it. Is there a good way
> to make show invoke lynx and display these correctly?
Untested, but adding the following line (without the indentation) to
mhn.defaults (either the system copy or one in your Mail directory) should
work:
mhshow-show-text/html: %plynx '%F'
Much more difficult is getting nmh to invoke Netscape Navigator. You can
have it just run the executable by replacing "lynx" above with "netscape",
but this is annoying for people like me who leave a copy of netscape running
all the time, because the second netscape will complain that certain
facilities are locked by the first invocation.
You'd like to have the current netscape open the page by doing:
mhshow-show-text/html: %pnetscape -noraise -remote "openFile('%F', new-window)"
but that doesn't work due to the fact that netscape -remote just sends a
message to the existing netscape then terminates. As soon as it terminates,
nmh deletes the temp. file that %F names, so unless you're very lucky with
the timing, the existing netscape will complain that it can't find the file
you asked it to open.
I've been meaning to do something about this for awhile now, by making a new
%-escape that names a temp file with more permanence, but I haven't gotten
around to it yet. Another project I haven't had time for is allowing
customization of the (text/html, text/plain) priority. Most of the HTML
mail I get is multipart/alternative, and I don't care about the extra
formatting in the text/html part, so it sucks that nmh always prefers the
text/html version.
-----------------------------------------------------------------------
Dan Harkless | To prevent SPAM contamination, please
[EMAIL PROTECTED] | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW. Thank you.