Bug#728061: coreutils: mailcap for cat

2013-10-28 Thread Bob Proulx
Kevin Ryde wrote: > Bob Proulx writes: > > What mail-user-agent are you using where this configuration is > > advantageous? > > It was to make "run-mailcap --action=cat" work on text/plain. A response that completely avoided answering my question. > > The run-mailcap command is in the mime-supp

Bug#728061: coreutils: mailcap for cat

2013-10-28 Thread Kevin Ryde
Bob Proulx writes: > > What mail-user-agent are you using where this configuration is > advantageous? It was to make "run-mailcap --action=cat" work on text/plain. > The text/plain mailcap is already loaded with other entries such as > on my system: Notice they're all either needsterminal or $D

Bug#728061: coreutils: mailcap for cat

2013-10-28 Thread Bob Proulx
Kevin Ryde wrote: > Michael Stone writes: > > I'm not sure why this would be useful. I don't understand how mailcap and mime types are related to coreutils. I don't think coreutils should own a mailcap entry. > Currently "run-mailcap --action=cat" cannot cat a text/plain text file > but adding a

Bug#728061: coreutils: mailcap for cat

2013-10-28 Thread Kevin Ryde
Michael Stone writes: > > I'm not sure why this would be useful. Currently "run-mailcap --action=cat" cannot cat a text/plain text file but adding a mailcap entry will let it work. > Why wouldn't you just pipe the > file to a pager and avoid the mailcap indirection? Primarily for genericness.

Bug#728061: coreutils: mailcap for cat

2013-10-27 Thread Michael Stone
On Mon, Oct 28, 2013 at 10:27:12AM +1100, Kevin Ryde wrote: This is an idea for an /etc/mailcap entry for "cat". This allows a text file to be catted with run-mailcap --action=cat foo.txt The file below is debian/coreutils.mime and adding dh_installmime to the binary-arch should install it

Bug#728061: coreutils: mailcap for cat

2013-10-27 Thread Kevin Ryde
Package: coreutils Version: 8.21-1 Severity: wishlist Tags: patch This is an idea for an /etc/mailcap entry for "cat". This allows a text file to be catted with run-mailcap --action=cat foo.txt The file below is debian/coreutils.mime and adding dh_installmime to the binary-arch should insta