Hi Carl, > From: Carl Spitzer <[EMAIL PROTECTED]> [...] > On Wed, 2005-12-28 at 21:13 -0500, Jim Lemon wrote: > > I programmed something like this and it might do what you want. The > > following constants and function allow a program to place up to 16 > > two-byte characters in the keyboard buffer. When the program exits > > (without reading any of the characters, of course) DOS will execute the > > command as though it had been typed. > > > > Why the limit of 16??
That's the size of the typeahead buffer maintained by the BIOS (I think that's what maintains it anyway). I guess you could work around that limitation with a TSR that continually polled to find out if there was any room in the buffer and added additional characters once room was available (due to the application reading the keystrokes). Regards, David ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user