Hello Jerome,
Basically, one of the versions of my ancient (written back in the early 90’s) Turbo Pascal directory listing programs used ANSI escape sequences to provide color. Instead of blindly assuming ANSI support is present, it first probes DOS to verify the functionality. It performs the probe through standard DOS I/O function calls and works on other DOS platforms (such as MS-DOS, PC-DOS and DR-DOS). However, the test fails under FreeDOS.
May I know which particular subtest(s) your code is failing on? Anyway, while it will probably be useful to tweak nansi.sys to match whatever MS-DOS's ansi.sys is doing... I am wondering if it will also be good to modify things application-side to accommodate variant ansi.sys implementations. It seems to me that your checking code currently relies on certain very specific assumptions about how the ansi.sys driver behaves (e.g. that the driver immediately spits out an ESC [ y ; x R sequence with no delay whatsoever). Thank you! -- https://gitlab.com/tkchia _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel