Description of problem: When mutt opens html attachment the started browser (htmlview by default) no output anything. Investigation of this issue has showed the mailcap problem. Replacing next mailcap entry text/html; /usr/bin/htmlview %s ; copiousoutput to text/html; /usr/bin/htmlview %s ; nametemplate=%s.html is quick solution. Version-Release number of selected component (if applicable): mailcap-2.1.14-1
I can't reproduce this in brief testing... either I get the correct output, or in one case where I get no output, the proposed fix doesn't help.
I am also observing this bug in RHEL3: htmlview in mutt hangs at opening of html-only emails with message: Invoking autoview command: /usr/bin/htmlview '/home/username/tmp/muttigHfnY' Sending break to it causes the following message: [-- Autoview using /usr/bin/htmlview '/home/vashik/tmp/muttigHfnY' --] ^[)0^[7^[[?1000h^[[1;1H^[[2J^[[1;1H^[[1;1H +^[[2;1H +^[[3;1H +^[[4;1H +^[[5;1H +^[[6;1H +^[[7;1H ^[[8;1H +^[[9;1H +--------------- Unknown type ----------------+ +^[[10;1H | | +^[[11;1H | Content type is application/octet-stream. | +^[[12;1H | Do you want to save or display this file? | +^[[13;1H | | +^[[14;1H | [ Save ] [ Display ] [ Cancel ] | +^[[15;1H +---------------------------------------------+ +^[[16;1H +^[[17;1H +^[[18;1H +^[[19;1H +^[[20;1H +^[[21;1H
I think I have better solution than Andy: just add -dump option to the htmlview in /etc/mailcap, it will not prompt anything and will not require to press enter as with namedtemplate.
I no agree with you, Victor. The -dump addon is no good solution. Several browsers can skip or misunderstand that option.
Ok, I have already understood myself that somebody may want to use other browser than links or lynx. I will also admit that in FC3 mutt/htmlview pair works without any modification to /etc/mailcap. The problem needs more investigation.
What is the HTML you're trying to view? It looks like you were trying to view something not marked as text/htmol.
Upon investigation, it seems the main reason this works on later releases is changes in 'llinks'. Ergo, assigning there. However, it's probably unlikely that links will be changed on RHEL 3 at this point.
It seems that elinks (links) is so stupid that doesn't recognize HTML without .html file extension... I have this problem with all elinks versions. I think nice and simple solution is call elinks from htmlview with "-default-mime-type text/html" option.
This bug is filed against RHEL 3, which is in maintenance phase. During the maintenance phase, only security errata and select mission critical bug fixes will be released for enterprise products. Since this bug does not meet that criteria, it is now being closed. For more information of the RHEL errata support policy, please visit: http://www.redhat.com/security/updates/errata/ If you feel this bug is indeed mission critical, please contact your support representative. You may be asked to provide detailed information on how this bug is affecting you.