sorrow@oak.circa.ufl.edu (06/21/91)
I am building my own UNIX work a like environment for DOS, and one of the things that I would like is the ability to do command line completion via the TAB key. I know 4DOS does this, but using 4DOS is out of the question since it won't work with my configuration. Anyway, the two approaches I see are : when the tab key is pressed then scan the current directory for a closest match. OR... when the TSR is loaded, scan the current directory and save to a buffer. When CD is issued or when a file is deleted, renamed, etc. update the buffer. Check buffer when tab key is pressed. Which is recommended? Also, I wouldn't want to execute the TSR if I was, oh, in WordPerfect. How do programs like DOSEDIT know if they are in another program? It seens that DOSEDIT traps int 21 and catches all EXECs...is this correct? Finally, I have DOSEDIT and don't know anything about it! Is there way to get help on it, and how do I set up the size of the history buffer and set up aliases? Thanks, Brian /* Brian Hook -- MS-DOS Programmer for Contract ----------------------------------------------------------------- "Seamus, that's my dog...I saw her today at the reception...sorry, sixTEEN inches....better save the women and children first...but this one goes to 11! ..anymore of that plutonium nyborg?....there can be only ONE!....like a finger pointing to the moon....ease the seat back...one day closer to death */