On 01/07/2014 09:03 AM, Mark Wielaard wrote:
You are right, that is too big a limit. It would mean ~30 pages of
output by default, which even for a log file would be too much. I'll
reduce it to 256 by default.
Mark, for an interactive user, too many pages by default should be
no problem. Just ctrl-c if you get bored seeing output fly by.
256 lines still overflows most terminals (5 pages or so), and if you
get more than a few pages, you'll most likely end up piping to more/less,
and at that point any sort of trimming by default is both
useless, and annoying (of the "oh, I need to redo with -n0, grrr."
For scripted uses, it's very frustrating to write a script that dumps
a stack to be analyzed later "offline", only to find out later that
the information you needed isn't there, and that you forgot (or didn't
know you needed) to pass "-n 0" to get the whole thing, because most of
the times the stack wasn't deep enough to hit the limit, while in
this particular hard to debug bug it was, than it is to have a
larger dump than you expected in that same case.
Anyway, seems like I've weighed my opinion enough and we're kind
of repeating ourselves. :-)