Hello,
I just encountered the very same issue with alt + keycode not working in
case of QEMU. I used your program to generate these chars (well, at
first I wrote very similar code by myself, and later I found you already
resolved and published your code here :). Thanks for that!
I have one more tip someone may find useful.
I was exploring a way to use this from FED editor the similar way like
ALT + keycode works. I noticed there is quite powerful option "Tools >
Filter", so I can type e.g. "char 64" here to get "@", and then "@" is
pasted directly into the text file I am working on.
I did one more step and modified the configuration of FED in FED.CFG via
changing following line (where X is a number):
ToolsX=ASCII|%h%n%schar %p
(This achieves the same functionality as the "Filter" option, but
directly calls the "char" utility, requiring me to type only the ASCII
decimal keycode.)
Additionally, I assigned this ToolX to F12 keyboard shortcut, so I can
type F12 and then the keycode in FED editor, which is (almost) as
convenient as using ALT + keycode :)
Best regards,
Lukas
Someone had emailed me to ask how to get a list of extended ASCII
characters into a file on FreeDOS (the Alt key trick doesn't seem to
work under a virtual machine). So I wrote a program to help them to do
that.
Because this is a simple program, I've released it into the public
domain. I've also posted it on Ibiblio, because I was unable to email
the zip file to this person). If you need such a program, you can find
it here:
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/char.zip
Usage is:
char [n ...]
(If you don't give any options, you'll get a usage statement.)
So if you want to print out the degree symbol (ASCII decimal 248) you
would type:
char 248
(ASCII codes not in 0-255 are printed as '?' instead.)
You can give multiple characters, and the program will echo them one
after the other. So if you wanted to type two degree symbols, you
would type:
char 248 248
The program is written in C, and compiled using OpenWatcom:
wcl -os -mt char.c
Jim
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel