Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-10 Thread Kirill Smelkov
On Tue, Dec 08, 2009 at 09:51:50PM +0100, Brian White wrote: I can change the cat option to only match copiousoutput entries if you wish. It's a perfectly reasonable behavior given that cat isn't defined in the first place. Yes, could you please do so. That would be the best

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-08 Thread Brian White
I can change the cat option to only match copiousoutput entries if you wish. It's a perfectly reasonable behavior given that cat isn't defined in the first place. Yes, could you please do so. That would be the best since as you say cat isn't defined in the first place and at least

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-04 Thread Kirill Smelkov
On Thu, Dec 03, 2009 at 10:07:10PM +0100, Brian White wrote: [...] I can change the cat option to only match copiousoutput entries if you wish. It's a perfectly reasonable behavior given that cat isn't defined in the first place. Yes, could you please do so. That would be the best since as

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Brian White
I too think, --action=cat should ignore X viewers. After all, original --action=cat use case (as requested by me btw in #526690) was to use it as canonical filter. So _filtering_ functionality was assumed by --action=cat, and otherwise to me cat seems to be useless because we have

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Brian White
What are use-cases for current cat behaviour? If there is none besides being used as a filter, let's please make it ignore interactive viewers and just pipe the result to stdout. That would be my preference too. To obtain the functionality as Brian implemented it, I'd probably rather

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Aron Griffis
What are use-cases for current cat behaviour? If there is none besides being used as a filter, let's please make it ignore interactive viewers and just pipe the result to stdout. That makes sense, but I can think of no generic way to know if it's an interactive viewer. I thought

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Brian White
What are use-cases for current cat behaviour? If there is none besides being used as a filter, let's please make it ignore interactive viewers and just pipe the result to stdout. That makes sense, but I can think of no generic way to know if it's an interactive viewer. I

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Aron Griffis
Brian, I appreciate your maintainership of run-mailcap, but first you take a long time to reply then you upload immediately without waiting for feedback on your comments. You have a couple people here interested in testing and providing feedback prior to release... Brian White wrote: [Thu Dec 03

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Brian White
I thought copiousoutput meant non-interactive stdout. Am I mistaken? copiousoutput indicates that the program produces a lot of output and should be fed into a pager program so as to not overwhelm the user. I've added a --nopager option in the latest upload. So by strict RFC

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-12-03 Thread Aron Griffis
Brian White wrote: [Thu Dec 03 2009, 04:07:10PM EST] I thought copiousoutput meant non-interactive stdout. Am I mistaken? copiousoutput indicates that the program produces a lot of output and should be fed into a pager program so as to not overwhelm the user. I've added

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-10-12 Thread Kirill Smelkov
I too think, --action=cat should ignore X viewers. After all, original --action=cat use case (as requested by me btw in #526690) was to use it as canonical filter. So _filtering_ functionality was assumed by --action=cat, and otherwise to me cat seems to be useless because we have --action=view.

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-10-12 Thread Aron Griffis
Kirill Smelkov wrote: [Mon Oct 12 2009, 09:40:11AM EDT] I too think, --action=cat should ignore X viewers. After all, original --action=cat use case (as requested by me btw in #526690) was to use it as canonical filter. So _filtering_ functionality was assumed by --action=cat, and otherwise

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-10-12 Thread Aron Griffis
Whoops, forgot to attach it. Here it is. #! /usr/bin/perl ### # # Run-Mailcap: Run a program specified in the mailcap file based on a mime # type. # # Written by Brian White bcwh...@pobox.com # This file has been

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-06-26 Thread Brian White
Hi Brian, I must be missing the point of --action=cat. Its name seems to imply non-interactive stdout, but it will still run X-based viewers and needsterminal viewers. The latter seems especially strange since the user probably doesn't want an interactive curses viewer if they used

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-06-22 Thread Aron Griffis
I don't agree. Cat is like view but without a pager. To have it choose otherwise would be confusing. The mailcap system is pretty fragile in general; I don't think you should try to shoe-horn extra functionality this way. Instead, create a filter action in the rules you want and use

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-06-21 Thread Brian White
I came to the conclusion that --action=cat should ignore mailcap entries other than copiousoutput. I don't agree. Cat is like view but without a pager. To have it choose otherwise would be confusing. The mailcap system is pretty fragile in general; I don't think you should try to shoe-horn

Bug#533723: mime-support: run-mailcap --action=cat should ignore non-copiousoutput entries

2009-06-19 Thread Aron Griffis
Package: mime-support Version: 3.46-1 Severity: normal I've observed that there's no way to differentiate between calling run-mailcap to view an file (for example running ooffice) and calling run-mailcap to translate a file to text/plain (for example for viewing in mutt). The only indicator