I'm pretty sure that a program's RTL is responsible to read the command-line and parse it into argv. And as far as I knew, it is pretty much the same in UNIX except that the shell expands wildcards and escape characters before passing the args to the next program. But I could be wrong about that :-).
On 6/22/06, Aitor Santamaría <[EMAIL PROTECTED]> wrote: > Hello Blair, > > I am very happy to see your code moving towards LFN support, many thanks! > > There's something I've always been concerned about, which is how is > the "" stuff supported in MS-DOS 7.x+? > Forgive me for my ignorance, but In particular, who parses command > line? who turns a zero-terminated strings into argv[]? I work everyday > with Unix, and there it seems that it is the shell itself which is > able to manage that, but for DOS I always thought it was the program's > RTL which was supposed to do it. > If I am wrong, and it's COMMAND's task, have you ever planned to add > support for it? > > Aitor > > > > 2006/6/22, Blair Campbell <[EMAIL PROTECTED]>: > > Update of /cvsroot/freedos/freecom/include > > In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20699/include > > > > Modified Files: > > command.h > > Log Message: > > Added cmd_lfnfor > > > > > > Index: command.h > > =================================================================== > > RCS file: /cvsroot/freedos/freecom/include/command.h,v > > retrieving revision 1.14 > > retrieving revision 1.15 > > diff -u -d -r1.14 -r1.15 > > --- command.h 11 Jun 2006 02:47:05 -0000 1.14 > > +++ command.h 22 Jun 2006 06:45:09 -0000 1.15 > > @@ -50,7 +50,11 @@ > > > > #define FINDFIRST(path,attrib,ffblk) findfirst(path,attrib,ffblk) > > #define FINDNEXT(ffblk) findnext(ffblk) > > +#ifdef FEATURE_LONG_FILENAMES > > +#define FINDSTOP(ffblk) lfnfindclose(ffblk) > > +#else > > #define FINDSTOP(ffblk) > > +#endif > > #ifndef FA_NORMAL > > #define FA_NORMAL 0 > > #endif > > @@ -119,6 +123,7 @@ > > int cmd_doskey(char *); > > int cmd_fddebug(char *); > > int cmd_history(char *); > > +int cmd_lfnfor(char *); > > int cmd_loadfix(char *); > > int cmd_loadhigh(char *); > > int cmd_memory(char *); > > > > > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > > Fully trained technicians. The highest number of Red Hat certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > _______________________________________________ > > Freedos-cvs mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/freedos-cvs > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel > -- Fall is my favorite season in Los Angeles, watching the birds change color and fall from the trees. David Letterman (1947 - ) See ya Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
