[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] optional hash mark progress indicator
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] optional hash mark progress indicator |
Date: |
Fri, 25 Jul 2003 09:55:16 +0200 |
User-agent: |
Mutt/1.2.5i |
As Alex Shepherd wrote:
> Are you saying that it is it is updated every 16 bytes now but used
> to be every byte?
It used to be updated for every byte only in very early Unix versions
when the program was still called `avrprog'. Apparently, even each 16
bytes is already slow enough on Win*'s sucking terminal emulation.
(But i agree, it's not that Win* has patented this idea, Sun's console
tty emulator sucks in a similar way, but nobody is ever going to use
/that/ except while booting the machine. ;-)
Perhaps a real tty @9600 Bd is even faster. :-)
Btw., how about turning the progress indicator into a percentage
indicator, now that you're going to touch it anyways? After all,
avrdude knows beforehand how much data to write or expect, so it
shouldn't be that difficult. Then, print out the progress each 5 or
10 % (perhaps using smaller percentage steps on large devices). If
output goes to a tty, make the progress printout similar to what it is
now, i. e. each new number uses a \r first, and overwrites the
previous one. If output doesn't go to a tty, instead simply append a
space and the new number behind. When printing each 10 % mark, this
would even fit into 80 columns.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
- RE: [avrdude-dev] winxp lpt device autodetect, (continued)
- RE: [avrdude-dev] Verify errors,, E. Weddington, 2003/07/21
- RE: [avrdude-dev] Verify errors,, Rune Christensen, 2003/07/22
- RE: [avrdude-dev] Verify errors,, E. Weddington, 2003/07/22
- RE: [avrdude-dev] Verify errors,, Daniel Williamson, 2003/07/24
- [avrdude-dev] optional hash mark progress indicator, Alex Shepherd, 2003/07/24
- Re: [avrdude-dev] optional hash mark progress indicator, Brian Dean, 2003/07/25
- RE: [avrdude-dev] optional hash mark progress indicator, Rune Christensen, 2003/07/25
- RE: [avrdude-dev] optional hash mark progress indicator, Alex Shepherd, 2003/07/25
- Re: [avrdude-dev] optional hash mark progress indicator, Brian Dean, 2003/07/25
- RE: [avrdude-dev] optional hash mark progress indicator, Alex Shepherd, 2003/07/25
- RE: [avrdude-dev] optional hash mark progress indicator, Alex Shepherd, 2003/07/25
- RE: [avrdude-dev] optional hash mark progress indicator, Theodore A. Roth, 2003/07/25
RE: [avrdude-dev] Verify errors,, Alex Shepherd, 2003/07/25
RE: [avrdude-dev] Verify errors,, Daniel Williamson, 2003/07/29