> 1. How to set b:\config.sys file before keys2.bat running.
> a. Where can I get ansi.sys?
Ansi.sys is a part of MS-DOS.
I am using the one which comes with U.S. English DOS 6.22.
You need to copy ansi.sys to the b:\ and add the following line
to your config.sys (at the end is okay)
device=b:\ansi.sys
> b. Is it necessary to attach the setting of text mode driver?
> I have two drivers file. I want to know your configration.
Sorry, but I am not sure which two text mode drivers you mean.
> 2. I think the keys2.bat is able to input ":" and ";" characters
> from keyboard.
> But I found keys2.bat has only two "echo" command sentences.
Yes. One line for each of the two keys (: and ;)
> I tried to run, then it displayed two ESC sentences.
That means the bat file run properly.
> What is happen when it works?
If ansi.sys is installed correctly, after you run keys2.bat,
SHIFT+, should give you ";" and SHIFT+. should give you ":"
on the OGO keyboard in DOS mode.
The way ansi.sys works is when it detects an escape sequence in
the text a program (e.g. keys2.bat) is sending to the screen,
ansi.sys intercepts it, interperets it and sends the appropriate
comand to the keyboard controller.
Hope this helps.
William