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.


For my needs I created an extra script

---- 8< astextplain ----
#!/bin/sh
unset DISPLAY
run-mailcap --action=cat $*
---- 8< ----

instead of just using `run-mailcap --action=cat` where appropriate.


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.

Thanks beforehand,
Kirill




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to