At this point, I need to find a way to code certain dos exclusive functions under linux.
Specifically, I need to find a way to do findnext and findfirst which is under dos.h and dir.h. Is there a linux equivalent?
I also need to find a version of string.h that has the strupr function, although everywhere I have looked so far does not have the strupr function in any replacement string.h that I have seen. strupr is a function that is in DOS compatible string.h files. strupr is a non-existent function in standard string.h files. Someone give me a url if you have it.
The strupr function has been implemented where needed.
Right now, I am tackling all of the simple command line programs that can be done rather quickly. I should mention that while not all of these programs are completely gcc compatible yet, you might get them to compile with Turbo C under DOS or any other compiler that uses DOS exclusive functions in the standard libraries.
If you are having any crashes or any bugs, keep in mind that void main has been changed to int main in most of the code. It might be a good idea to make it gint main, but I don't know yet. Someone inform me if necessary.
By the way, I just noticed that the source for prescan.exe seems to be missing. If I have overlooked it, then let me know.
Edited by m2mike, 29 April 2005 - 12:44 PM.