Note: The problem happens on the unix terminal, not on openMSX console.
openMSX-0.9.1 is flooding the terminal with 101 messages about the checksum progress. This causes the terminal to scroll too much, requiring the programmer to scroll back to see if there were any other important messages on his script.
Example output:
progress: Calculating SHA1 sum for msxhddtest.dmg... 0%
progress: Calculating SHA1 sum for msxhddtest.dmg... 1%
progress: Calculating SHA1 sum for msxhddtest.dmg... 2%
progress: Calculating SHA1 sum for msxhddtest.dmg... 3%
progress: Calculating SHA1 sum for msxhddtest.dmg... 4%
progress: Calculating SHA1 sum for msxhddtest.dmg... 5%
progress: Calculating SHA1 sum for msxhddtest.dmg... 6%
progress: Calculating SHA1 sum for msxhddtest.dmg... 7%
progress: Calculating SHA1 sum for msxhddtest.dmg... 8%
progress: Calculating SHA1 sum for msxhddtest.dmg... 9%
progress: Calculating SHA1 sum for msxhddtest.dmg... 10%
progress: Calculating SHA1 sum for msxhddtest.dmg... 11%
progress: Calculating SHA1 sum for msxhddtest.dmg... 12%
progress: Calculating SHA1 sum for msxhddtest.dmg... 13%
progress: Calculating SHA1 sum for msxhddtest.dmg... 14%
progress: Calculating SHA1 sum for msxhddtest.dmg... 15%
progress: Calculating SHA1 sum for msxhddtest.dmg... 16%
progress: Calculating SHA1 sum for msxhddtest.dmg... 17%
progress: Calculating SHA1 sum for msxhddtest.dmg... 18%
progress: Calculating SHA1 sum for msxhddtest.dmg... 19%
progress: Calculating SHA1 sum for msxhddtest.dmg... 20%
progress: Calculating SHA1 sum for msxhddtest.dmg... 21%
progress: Calculating SHA1 sum for msxhddtest.dmg... 22%
progress: Calculating SHA1 sum for msxhddtest.dmg... 23%
progress: Calculating SHA1 sum for msxhddtest.dmg... 24%
progress: Calculating SHA1 sum for msxhddtest.dmg... 25%
progress: Calculating SHA1 sum for msxhddtest.dmg... 26%
progress: Calculating SHA1 sum for msxhddtest.dmg... 27%
progress: Calculating SHA1 sum for msxhddtest.dmg... 28%
progress: Calculating SHA1 sum for msxhddtest.dmg... 29%
progress: Calculating SHA1 sum for msxhddtest.dmg... 30%
progress: Calculating SHA1 sum for msxhddtest.dmg... 31%
progress: Calculating SHA1 sum for msxhddtest.dmg... 32%
progress: Calculating SHA1 sum for msxhddtest.dmg... 33%
progress: Calculating SHA1 sum for msxhddtest.dmg... 34%
progress: Calculating SHA1 sum for msxhddtest.dmg... 35%
progress: Calculating SHA1 sum for msxhddtest.dmg... 36%
progress: Calculating SHA1 sum for msxhddtest.dmg... 37%
progress: Calculating SHA1 sum for msxhddtest.dmg... 38%
progress: Calculating SHA1 sum for msxhddtest.dmg... 39%
progress: Calculating SHA1 sum for msxhddtest.dmg... 40%
progress: Calculating SHA1 sum for msxhddtest.dmg... 41%
progress: Calculating SHA1 sum for msxhddtest.dmg... 42%
progress: Calculating SHA1 sum for msxhddtest.dmg... 43%
progress: Calculating SHA1 sum for msxhddtest.dmg... 44%
progress: Calculating SHA1 sum for msxhddtest.dmg... 45%
progress: Calculating SHA1 sum for msxhddtest.dmg... 46%
progress: Calculating SHA1 sum for msxhddtest.dmg... 47%
progress: Calculating SHA1 sum for msxhddtest.dmg... 48%
progress: Calculating SHA1 sum for msxhddtest.dmg... 49%
progress: Calculating SHA1 sum for msxhddtest.dmg... 50%
progress: Calculating SHA1 sum for msxhddtest.dmg... 51%
progress: Calculating SHA1 sum for msxhddtest.dmg... 52%
progress: Calculating SHA1 sum for msxhddtest.dmg... 53%
progress: Calculating SHA1 sum for msxhddtest.dmg... 54%
progress: Calculating SHA1 sum for msxhddtest.dmg... 55%
progress: Calculating SHA1 sum for msxhddtest.dmg... 56%
progress: Calculating SHA1 sum for msxhddtest.dmg... 57%
progress: Calculating SHA1 sum for msxhddtest.dmg... 58%
progress: Calculating SHA1 sum for msxhddtest.dmg... 59%
progress: Calculating SHA1 sum for msxhddtest.dmg... 60%
progress: Calculating SHA1 sum for msxhddtest.dmg... 61%
progress: Calculating SHA1 sum for msxhddtest.dmg... 62%
progress: Calculating SHA1 sum for msxhddtest.dmg... 63%
progress: Calculating SHA1 sum for msxhddtest.dmg... 64%
progress: Calculating SHA1 sum for msxhddtest.dmg... 65%
progress: Calculating SHA1 sum for msxhddtest.dmg... 66%
progress: Calculating SHA1 sum for msxhddtest.dmg... 67%
progress: Calculating SHA1 sum for msxhddtest.dmg... 68%
progress: Calculating SHA1 sum for msxhddtest.dmg... 69%
progress: Calculating SHA1 sum for msxhddtest.dmg... 70%
progress: Calculating SHA1 sum for msxhddtest.dmg... 71%
progress: Calculating SHA1 sum for msxhddtest.dmg... 72%
progress: Calculating SHA1 sum for msxhddtest.dmg... 73%
progress: Calculating SHA1 sum for msxhddtest.dmg... 74%
progress: Calculating SHA1 sum for msxhddtest.dmg... 75%
progress: Calculating SHA1 sum for msxhddtest.dmg... 76%
progress: Calculating SHA1 sum for msxhddtest.dmg... 77%
progress: Calculating SHA1 sum for msxhddtest.dmg... 78%
progress: Calculating SHA1 sum for msxhddtest.dmg... 79%
progress: Calculating SHA1 sum for msxhddtest.dmg... 80%
progress: Calculating SHA1 sum for msxhddtest.dmg... 81%
progress: Calculating SHA1 sum for msxhddtest.dmg... 82%
progress: Calculating SHA1 sum for msxhddtest.dmg... 83%
progress: Calculating SHA1 sum for msxhddtest.dmg... 84%
progress: Calculating SHA1 sum for msxhddtest.dmg... 85%
progress: Calculating SHA1 sum for msxhddtest.dmg... 86%
progress: Calculating SHA1 sum for msxhddtest.dmg... 87%
progress: Calculating SHA1 sum for msxhddtest.dmg... 88%
progress: Calculating SHA1 sum for msxhddtest.dmg... 89%
progress: Calculating SHA1 sum for msxhddtest.dmg... 90%
progress: Calculating SHA1 sum for msxhddtest.dmg... 91%
progress: Calculating SHA1 sum for msxhddtest.dmg... 92%
progress: Calculating SHA1 sum for msxhddtest.dmg... 93%
progress: Calculating SHA1 sum for msxhddtest.dmg... 94%
progress: Calculating SHA1 sum for msxhddtest.dmg... 95%
progress: Calculating SHA1 sum for msxhddtest.dmg... 96%
progress: Calculating SHA1 sum for msxhddtest.dmg... 97%
progress: Calculating SHA1 sum for msxhddtest.dmg... 98%
progress: Calculating SHA1 sum for msxhddtest.dmg... 99%
progress: Calculating SHA1 sum for msxhddtest.dmg... 100%
Note: The problem happens on the unix terminal, not on openMSX console.
We actually added these progress messages on purpose, because it can take a long time before the SHA1 sum is calculated for larger images. Due to the nature of the messaging system, these also show up on the console (next to the OSD).
I propose not to fix this. The terminal is usually not used for something you really need. I'm curious about other people's opinion.
I really need the terminal for cross-development. :)
I have scripts for compiling and for testing. But when the testing script runs, I can barely find any other messages from it because of this flood of repeated messages. Redirecting openMSX output to /dev/null isn't also an option, because this would also redirect any important messages.
Since revision RELEASE_0_9_1-353-gd5c2694 (2013/04/23) this should be fixed. (Note that we switched from SVN to git, our revision numbers look a bit different now. This particular revision code means 353 commits since the 0.9.1 release).
Harddisk images no longer use sha1, instead they use tiger-tree-hash (tth). The advantage is that tth can be calculated incrementally, so if only a few sectors of the harddisk are written to, the calculation is a_lot faster. And there is no need to write such progress messages to the console.
Can you check if this fixes the problem for you?
Tested on Windows-7. Problem solved.
Thanks! :)