Hi - On Wed, Nov 11, 2020 at 09:31:38PM +0100, Mark Wielaard wrote: > debuginfod-find -v enables a progressfn that prints the Progress every > time the callback is called. [...] > [...] > - fprintf (stderr, "Progress %ld / %ld\n", a, b); > [...]
Another option is to use something close what the builtin env DEBUGINFOD_PROGRESS=1 code does: print self-overwriting messages with \r rather than \n. That way many messages can come, but they don't overpower the screen. Really, the main reason I put in this progressfn into debuginfod-find was to help test that API within the testsuite. Maybe now, we don't need that option to do anything but set the env var, therby using the common code. - FChE