Bug 141954 - htmlview not opens browser window under mutt (in usual linux console)
Summary: htmlview not opens browser window under mutt (in usual linux console)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: htmlview
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-06 11:26 UTC by Andy Shevchenko
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 19:12:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andy Shevchenko 2004-12-06 11:26:28 UTC
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

Comment 1 Bill Nottingham 2005-01-21 23:27:48 UTC
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.

Comment 2 Victor Ashik 2005-02-15 08:53:06 UTC
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

Comment 3 Victor Ashik 2005-02-15 09:09:40 UTC
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.

Comment 4 Andy Shevchenko 2005-02-15 09:19:04 UTC
I no agree with you, Victor. The -dump addon is no good solution. 
Several browsers can skip or misunderstand that option.

Comment 5 Victor Ashik 2005-02-15 09:25:22 UTC
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.

Comment 6 Bill Nottingham 2005-02-15 17:36:40 UTC
What is the HTML you're trying to view? It looks like you were trying
to view something not marked as text/htmol.

Comment 7 Bill Nottingham 2005-09-21 20:39:03 UTC
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.

Comment 8 Karel Zak 2005-09-21 22:56:46 UTC
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.

Comment 9 RHEL Program Management 2007-10-19 19:12:02 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.