Re: mutt 1.5.21 mailcap text/html
* Matthias Apitz g...@unixarea.de [01-03-12 07:30]: I'm struggling a bit with the above combination; I have in ~/.muttrc auto_view text/html and in the file ~/.mailcap the line: image/*;xv %s which works fine displaying image attachments with xv(1); the line text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html works fine too displaying the output of lynx(1) in the pager of mutt; so far so good; but why the line text/html; firefox3 %s does not do what one would expect (i.e. handing over the file to firefox)? it just says in the mutt window: mailcap entry for type text/html not found try: text/html;firefox -new-window %s\;exit 1; \ nametemplate=%s.html; test=test -n $DISPLAY one line broken after exit 1; for display firefox is not a character application, it is graphical. The error msg is correct. works for me :^) gud luk, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535@ http://linuxcounter.net
Re: mutt 1.5.21 mailcap text/html
El día Tuesday, January 03, 2012 a las 07:58:20AM -0500, Patrick Shanahan escribió: try: text/html;firefox -new-window %s\;exit 1; \ nametemplate=%s.html; test=test -n $DISPLAY one line broken after exit 1; for display thanks; but gives as well: mailcap entry for type text/html not found firefox is not a character application, it is graphical. The error msg is correct. I disagree; a correct messages would be found invalid mailcap entry for type text/html matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
Re: mutt 1.5.21 mailcap text/html
* Matthias Apitz g...@unixarea.de [01-03-12 08:10]: El día Tuesday, January 03, 2012 a las 07:58:20AM -0500, Patrick Shanahan escribió: try: text/html;firefox -new-window %s\;exit 1; \ nametemplate=%s.html; test=test -n $DISPLAY one line broken after exit 1; for display thanks; but gives as well: mailcap entry for type text/html not found do you still have a line with *only*: text/thml remove it. firefox is not a character application, it is graphical. The error msg is correct. I disagree; a correct messages would be found invalid mailcap entry for type text/html you are welcome to fix or file bug report. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535@ http://linuxcounter.net
Re: mutt 1.5.21 mailcap text/html
El día Tuesday, January 03, 2012 a las 08:16:56AM -0500, Patrick Shanahan escribió: * Matthias Apitz g...@unixarea.de [01-03-12 08:10]: El día Tuesday, January 03, 2012 a las 07:58:20AM -0500, Patrick Shanahan escribió: try: text/html;firefox -new-window %s\;exit 1; \ nametemplate=%s.html; test=test -n $DISPLAY one line broken after exit 1; for display thanks; but gives as well: mailcap entry for type text/html not found do you still have a line with *only*: text/thml remove it: here is what I have in ~/,mailcap file: $ fgrep text .mailcap # text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html text/html;firefox3 -new-window %s\;exit 1; nametemplate=%s.html; test=test -n $DISPLAY # text/html; firefox3 %s # text/html; mozilla %s; copiousoutput; nametemplate=%s.html # text/html; kfmclient newTab %s; copiousoutput; nametemplate=%s.html # text/html; /home/guru/konquNewTab.sh %s; copiousoutput; nametemplate=%s.html # text/html; opera -remote 'openURL(%s,new-page)'; copiousoutput; nametemplate=%s.html matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
Re: mutt 1.5.21 mailcap text/html
On 03.01.12,14:23, Matthias Apitz wrote: El día Tuesday, January 03, 2012 a las 08:16:56AM -0500, Patrick Shanahan escribió: * Matthias Apitz g...@unixarea.de [01-03-12 08:10]: El día Tuesday, January 03, 2012 a las 07:58:20AM -0500, Patrick Shanahan escribió: try: text/html;firefox -new-window %s\;exit 1; \ nametemplate=%s.html; test=test -n $DISPLAY one line broken after exit 1; for display thanks; but gives as well: mailcap entry for type text/html not found do you still have a line with *only*: text/thml remove it: here is what I have in ~/,mailcap file: $ fgrep text .mailcap # text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html text/html;firefox3 -new-window %s\;exit 1; nametemplate=%s.html; test=test -n $DISPLAY # text/html; firefox3 %s # text/html; mozilla %s; copiousoutput; nametemplate=%s.html # text/html; kfmclient newTab %s; copiousoutput; nametemplate=%s.html # text/html; /home/guru/konquNewTab.sh %s; copiousoutput; nametemplate=%s.html # text/html; opera -remote 'openURL(%s,new-page)'; copiousoutput; nametemplate=%s.html Try this line instead and do m on the html file in the attachment view: text/html; /usr/bin/firefox %s;exit 1; nametemplate=%s.html; test=test -n $DISPLAY Jostein
Re: mutt 1.5.21 mailcap text/html
El día Tuesday, January 03, 2012 a las 02:37:49PM +0100, Jostein Berntsen escribió: here is what I have in ~/,mailcap file: $ fgrep text .mailcap # text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html text/html;firefox3 -new-window %s\;exit 1; nametemplate=%s.html; test=test -n $DISPLAY # text/html; firefox3 %s # text/html; mozilla %s; copiousoutput; nametemplate=%s.html # text/html; kfmclient newTab %s; copiousoutput; nametemplate=%s.html # text/html; /home/guru/konquNewTab.sh %s; copiousoutput; nametemplate=%s.html # text/html; opera -remote 'openURL(%s,new-page)'; copiousoutput; nametemplate=%s.html Try this line instead and do m on the html file in the attachment view: arghh! with m (I used always Enter) the existing entry in .mailcap works as well; what is the exact difference between m and Enter in the attachment view? help says: Returnview-attachview attachment using mailcap entry if necessary m view-mailcap force viewing of attachment using mailcap thanks for your hint matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5