Pasting into DOS - slowing it down ?
R.Wieser wrote:
I do not fully agree there. In the affected programs case certain keystroke
combinations can result in rather time-consuming actions (like writing
to/reading from floppy), which also could cause error messages to pop up
(the floppy not beying ready). You don't want to have some type-ahead chars
answering those "what to do now?" messages.
Also, I get the feeling that its not fully the DOS programs fault. A max
of 11 chars/sec is way too slow, even when a gets/flush sequence is
interfering with the user typing chars.
Regards,
Rudy Wieser
On Linux, you can use Xsendkeys to send characters to a window.
I think Windows has sendkeys, but I don't know what the
best packaging would be.
If you write your own program, you could add a parameter
to set the character rate.
Windows Virtual PC uses a SendKeys approach to implement
host to guest copy/paste. Which is fine, until some
text gets lost.
VirtualBox, I think once the driver is installed, it
interacts at the buffer level instead. Which gives
better integrity on copies, but doesn't allow
"consumption throttling".
If you're suitably motivated, I bet it can be fixed.
Paul
|