On Sat, Sep 06, 2014 at 11:47:24AM -0300, Antonio Terceiro wrote: > Please do report a bug. Your wish be my command -> #760951 > Another point, perhaps more important, would be that an automated test > suite is something that is mainly supposed to run unattended, so using a > pager at all does not look like a good decision to me. If you want the > contents of a file to show up in the test logs, you might want to use > just `cat`, or even `tee` exactly at the point where the file is > created: > > apt-get changelog | tee /path/to/file I think you misunderstood me – the tests aren't using a pager themselves, apt-get is calling one automatically and unconditionally with the expectation that the pager degrades nicely to just working like 'cat' if the output isn't a terminal. While I would still be interested which pager it actually is which does this as I couldn't reproduce it with less/more/most/cat at all, I guess that the expection of a well behaving pager is a bit optimistic/wrong, so I am just going to change that and call 'cat' unconditionally if we are faced with a non-terminal (looking at the code, it is currently a bit unclean anyway, so we have to change that anyway). Thanks for the input! Sometimes, talking about the room makes the elephant at least partially visible. ;) Best regards David Kalnischkies
Attachment:
signature.asc
Description: Digital signature