in reply to Re^3: SLOW DOWN, you move too fast.....
in thread SLOW DOWN, you move too fast.....
...you have no way of knowing how many bytes were printed...
I gave the minimum lower bound.
Second, the number of bytes that didn't print is even more telling.
I repeat your first assertion. How do you know the number of bytes that didn't print?
Thirdly, why do you assume he's printing to a tty?
In the absence of any other information, what else is there to assume?
To count the lines exactly, he probably redirected stdout. That disables line buffering.
The OP had to notice the problem before deciding to count the lines exactly. There's no way of knowing without more information. You might as well assume $|++ somewhere in the program.
Finally, that a line was only partially printed is a very good indicator of a buffering problem.
...or unexpected data, such as \r or \b characters.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: SLOW DOWN, you move too fast.....
by ikegami (Patriarch) on Aug 09, 2006 at 04:02 UTC |