NS16550: buffer reads
PATCH v4 2/2 NS16550: buffer reads
Dear Simon,
Quoted 7 lines · I wrote:
- However, your implementation does not result in reliable multi-line input. It works only in a few specific use cases, and will fail silently for others. I don't see a way ho you would announce this new feature. The numbers you mention in the commit message ("it handles around 70 lines before lossage") apply for this specific board only, and for your use case only (pasting of short lines that produce no output).
Actually I believe that the restriction is even worse - I think that any commands that consume any significant amount of time will casue problems, too. Can you please test what happens when you have, for example, a "sleep 10" or a "erase all" in the first few lines of the pasted input ?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What can it profit a man to gain the whole world and to come to his
property with a gastric ulcer, a blown prostate, and bifocals?
-- John Steinbeck, _Cannery Row_PATCH v4 2/2 NS16550: buffer reads
Quoted 12 lines · Wolfgang Denk
Dear Simon,
Quoted 7 lines · I wrote:
- However, your implementation does not result in reliable multi-line input. It works only in a few specific use cases, and will fail silently for others. I don't see a way ho you would announce this new feature. The numbers you mention in the commit message ("it handles around 70 lines before lossage") apply for this specific board only, and for your use case only (pasting of short lines that produce no output).
Quoted 5 lines
Actually I believe that the restriction is even worse - I think that any commands that consume any significant amount of time will casue problems, too. Can you please test what happens when you have, for example, a "sleep 10" or a "erase all" in the first few lines of the pasted input ?
The reference to "70 lines" was meant as an anecdote about how it made pasting things significantly more usable for me. I never advertised it as a complete fix for serial loss (indeed, it even says that I still experienced loss after 70 lines). It's just a fairly simple change that lessens the problem for me (and apparently others) to the point where it's no longer a significant nuisance.
-Scott