Jim: A couple of questions & comments on this. First of all, you say that this 
is intended to put ASCII codes into a file, but it just writes them to the 
screen.  You indicate the user was asking how to inject them into a file.  The 
most obvious way I can see to do that (though certainly not the only way) is to 
redirect the output, e.g.:  char 247 248 > file.txt  Shouldn't that be 
mentioned somewhere in the documentation?  For the Alt-key trick, sometimes it 
is necessary to have NumLock enabled, while other times the NumLock state 
doesn't matter.  If just tried in VMWare Player and DOSBox-X and it works no 
matter the NumLock state, while in QEMU it doesn't work at all no matter the 
NumLock state.  That seems to me like a bug in QEMU.  I also think I remember 
from a long time ago a TSR that could pop-up an ASCII table on the screen and 
possibly "inject" the character into an application.  It was probably available 
on a now-obsolete site like SimTel or Garbo but I don't remember any more than 
that.  I could also just be imagining things.  The text editor I normally use 
has a built-in pop-up ASCII table so I don't need any kind of program like 
that.  Lastly, the ASCII code that is seen on the screen for characters > 127 
will depend on the current Code Page.  E.g., the example you used (character 
248) is the degree symbol on both Code Pages 437 and 850 (probably the two most 
common ones), but may not be a degree symbol on any of the other Code Pages 
(I'm not sure).  The next character over (character 247) is even different 
between Code Pages 437 and 850.  You may also want to mention something about 
Code Pages in the documentation.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to