Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
retitle 278990 firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file) thanks On 2005-12-31 10:11:39 -0500, Justin Pryzby wrote: This problem still exists, so this bug report should remain open, however cloned, reassigned, retitled, blocked, or tagged. If the file should be copied, so that mutt doesn't remove or zero it, then let us implement that as necessary in mailcap or some wrapper thereof. OK, I didn't think you were refering to the system mailcap. Indeed, I have here: text/html; /usr/bin/firefox '%s'; description=HTML Text; test=test -n $DISPLAY; nametemplate=%s.html text/xml; /usr/bin/firefox '%s'; description=XML Text; test=test -n $DISPLAY; nametemplate=%s.xml which is not correct (as my previous mail explained). The bug title should now clearly say what the bug is. But IMHO, the wrapper should be generic and be provided by Mutt. Something like: text/html; /usr/bin/view-attach /usr/bin/firefox '%s'; description=HTML Text; test=test -n $DISPLAY; nametemplate=%s.html where view-attach would do the copy, call the command and unlink the file. Firefox should also have an option so that the command quits whether Firefox was already running or not. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
On 2005-12-31 16:33:24 +0100, Vincent Lefevre wrote: But IMHO, the wrapper should be generic and be provided by Mutt. Something like: text/html; /usr/bin/view-attach /usr/bin/firefox '%s'; description=HTML Text; test=test -n $DISPLAY; nametemplate=%s.html where view-attach would do the copy, call the command and unlink the file. Firefox should also have an option so that the command quits whether Firefox was already running or not. After some thoughts, the wrapper shouldn't be provided by Mutt, but by some package that must be installed to be able to use the mailcap system (mime-support?). Also, to be sure that no-one complains about what Mutt does: http://www.ietf.org/rfc/rfc1524 says in Appendix A: (Such files cannot be presumed to continue to exist after the view-command program exits. Thus a view-command that wishes to exit and continue processing in the background should take care to save the data first.) -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
On Sat, Dec 31, 2005 at 04:33:24PM +0100, Vincent Lefevre wrote: retitle 278990 firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file) thanks On 2005-12-31 10:11:39 -0500, Justin Pryzby wrote: This problem still exists, so this bug report should remain open, however cloned, reassigned, retitled, blocked, or tagged. If the file should be copied, so that mutt doesn't remove or zero it, then let us implement that as necessary in mailcap or some wrapper thereof. OK, I didn't think you were refering to the system mailcap. Indeed, I have here: text/html; /usr/bin/firefox '%s'; description=HTML Text; test=test -n $DISPLAY; nametemplate=%s.html text/xml; /usr/bin/firefox '%s'; description=XML Text; test=test -n $DISPLAY; nametemplate=%s.xml which is not correct (as my previous mail explained). The bug title should now clearly say what the bug is. But IMHO, the wrapper should be generic and be provided by Mutt. Something like: text/html; /usr/bin/view-attach /usr/bin/firefox '%s'; description=HTML Text; test=test -n $DISPLAY; nametemplate=%s.html where view-attach would do the copy, call the command and unlink the file. Firefox should also have an option so that the command quits whether Firefox was already running or not. Yes, as you knew, wrapper is actually wrappee. Is the problem specific to mozilla, or are there other things that will have this problem, that may or may not already have bugs filed against them? (I'm trying to do hurry and do my good deed for 2005 by anticipating possible bugs). -- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
On 2005-12-31 11:14:42 -0500, Justin Pryzby wrote: Is the problem specific to mozilla, or are there other things that will have this problem, that may or may not already have bugs filed against them? I don't know. I'd say that applications that make sure that one instance is run are in the same case. Perhaps OpenOffice? -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
On Sat, Dec 31, 2005 at 06:53:07PM +0100, Vincent Lefevre wrote: On 2005-12-31 11:14:42 -0500, Justin Pryzby wrote: Is the problem specific to mozilla, or are there other things that will have this problem, that may or may not already have bugs filed against them? I don't know. I'd say that applications that make sure that one instance is run are in the same case. Perhaps OpenOffice? Do you know how I can get a list of all potential entries there? I guess it is (typically?) updated by dh_installmime, right? /usr/bin/see /usr/bin/edit /usr/bin/compose /usr/bin/print Can those be the wrapper/wrappee or whatever? Should all programs just call one of those? Do they? I just saw Colin's response to your ssh bug btw :-P -- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#278990: firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to copy the file)
On 2005-12-31 13:35:24 -0500, Justin Pryzby wrote: Do you know how I can get a list of all potential entries there? I guess it is (typically?) updated by dh_installmime, right? /usr/bin/see /usr/bin/edit /usr/bin/compose /usr/bin/print They are from the mime-support package, but I don't know what they do exactly (the run-mailcap man page doesn't give much information). Can those be the wrapper/wrappee or whatever? Should all programs just call one of those? Do they? I don't know (I haven't checked). BTW, Foldoc, Gcide and WordNet all say wrapper and they don't know wrappee. Ditto for Wikipedia. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]