search for: draw_progress_meter

Displaying 1 result from an estimated 1 matches for "draw_progress_meter".

2003 May 06
2
scp: missing progressbar, better behaviour on small windows
I miss the stars when doing scp. My suggestion for progressmeter.c makes scp to display different fields on different terminal widths. Maybe this is useful for you. Once in "start_progress_meter()" the outlook of the progressline is calculated. In "draw_progress_meter()" sprintf() instead of snprintf() together with some strlen()'s can be used, because the buffersize has been respected before. The remaining time can now have the form "> 99 days", "11d12:44" or as before "22:33:44" and " 33:44". Okay, with 80...