<<< Date Index >>>     <<< Thread Index >>>

Re: text/html; mutt_bgrun mozilla.sh %s; test=InXTerm



On Thursday, November  3 at 11:49 AM, quoth Chris Green:
I have these lines in my .mailcap, probably from someone here:-

   text/html; mutt_bgrun mozilla.sh %s; test=InXTerm
   text/html; lynx -underscore -force_html -dump %s; copiousoutput

Try this:

   text/html; mutt_bgrun mozilla.sh %s; test=test -n "$DISPLAY"

I also use these three lines instead of what you have there:

   text/html; elinks -dump -force-html %s; copiousoutput; needsterminal; 
nametemplate=%s.html; test=test -n "`type -P elinks`"
   text/html; links -dump -force-html %s; copiousoutput; needsterminal; 
nametemplate=%s.html; test=test -n "`type -P links`"
   text/html; lynx -dump -force-html %s; copiousoutput; needsterminal; 
nametemplate=%s.html; test=test -n "`type -P lynx`"

~Kyle
--
I think your life is judged not by how much you have taken but by how much you give back.
                                               -- Arnold Schwarzenegger

Attachment: pgpNh96YjydEY.pgp
Description: PGP signature