This is my second release of a keyboard test suite for dosemu.
It should work well enought that anyone can run it.

This depends upon my patch to all scancodes to be sent over a terminal.
Unless you have that patch or dosemu > 0.99.13 this test suit is very useful.
Note: currently no version of dosemu passes this test suite.

To use just do: 
make test
A diff of what is wrong will be printed.

Note: Sometimes if the system load is busy scancodes will be sent
before my dos test app has started.  In that case you need to
press Ctrl-C and restart the tests.  If it is a persistent thing
Upping the initial start delay should make it go away. (see below)

BUGS
- Currently I only test the us keyboard.
- I believe but an not certain that the windows keys LWIN, RWIN, & MENU
  should not be visible, except for scancodes.
- Possibly I test for the wrong values with the less/greater key.
  It isn't on any us keyboard so is hard to test....

TODO.
- Get some different test patterns for keyboard_test.c for non-us
  keyboards.
- Get some non us test basises
- Automate the tests in X
- Integrate the code from the previous attempt in X.

INFO.
- send_scancodes takes two parameters:
  An inial delay in milliseconds: Currently set to 15 seconds.
  A delay between key presses, useful for versions of dosemu whose internal
    keyboard buffer can overflow. 
    Currently set to 1 second, but has been tested successfully at 0 milliseconds.

- To change which version of dos you are pointing at just change DOS in the makefile

- Direcotories:
  results (automatically generated results of the regression test)
  results-compare ( What should be generated by dosemu if all is ok.)
  pretty (An Annoted version of results-compare, usefull for tracking bugs)

Eric Biederman <ebiederm+eric@ccr.net>



