-=> David wrote with startling eloquence to Francois <=-
FP> The font has nothing to do with the escape sequence decoding!
DA> I know, but without the proper font you can't display the ANSI
DA> correctly :)
Forgive me if I'm quibbling.
The font really doesn't have anything to do with ANSI decoding. ANSI
sequences contain positional (column/row) and color change information and
that sort of thing, but they have nothing to do with the displayed
characters. The ANSI sequences will display properly regardless of the font
used.
Now, certainly most Windows fonts don't contain the full complement of high
ASCII *characters* that are often associated with fancy ANSI screens, such as
lines and boxes. Since you say that you've got code to interpret ANSI
sequences, then your only remaining hurdle is to find an appropriate font.
The Terminal font that comes with Windows does contain all the characters of
the extended ASCII set, including lines, boxes, symbols, and non-English
characters. Check your Windows directory and see if you have the character
map utility (on my Win95 system it's called charmap.exe). This will allow you
to see all the characters for each of your fonts.
EEAS
eric@kobayashi.com www.kobayashi.com/maru/
--- Blue Wave/DOS v2.20
---------------
* Origin: The Aircrash Bureau Chicago 312-278-1195 33.6 (1:115/327)
|