> > > 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 "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. > > > I suppose we can say that between $DISPLAY and > > "needsterminal" that covers almost all possibilities. > > Unfortunately I know of at least one filter (unoconv) that > connects to the X server (to access the openoffice server, > I believe). So if we want that to work, it's not really an option > to unset DISPLAY prior to running mailcap tests. > I've left "cat" in place though it now unsets DISPLAY. There's no perfect solution, I'm afraid. Brian bcwh...@pobox.com ----------------------------------------------------------------------------------------- Treat someone as they are and they will remain that way. Treat someone as they can be and they will become that way.