On Tue, Mar 11, 2003 at 04:47:02PM -0700, Kenneth D. Weinert wrote:
I just wondered if there was a method to force dillo to treat a file given on the command line as HTML.
Not really an answer to your question, but ...
I'd like to use dillo to view html attachments from my mail program, but since the temporary file doesn't have .htm[l] as an extension (actually, it is extension free) so dillo just displays the html instead of interpreting it.
... reading the "user-agent" from your header, I figured you are using mutt. Then add the following into .mailcap : text/html; dillo %s; nametemplate=%s.html That's what I have :-) It may work for other MUA's as well. Optinally, add a test. Cheers Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198