Hi!

23-Июн-2006 18:44 [EMAIL PROTECTED] (Blair Campbell) wrote to
[email protected]:

>>      About command line limitation: NDOS/4DOS and newer command.com place
>> complete, untruncated command line into CMDLINE environemnt variable.
BC> What does everybody think about FreeCOM supporting this?

     Even (newer) MS-command.com supports this, so supporting this in
FreeCOM should be good.

BC> Of course,
BC> it is possibly useless without C runtimes supporting it.

     Not necessary: program may parse CMDLINE by itself. And calling
getenv() is even easier, than accessing MK_FP(_psp,0x80).

BC> Which leads to another question: how do DJGPP-compiled shells pass
BC> arguments? Cuz in BASH, the commandline can be as long as you want.
BC> (Provided you're calling other DJGPP programs, of course).  FreeCOM
BC> could possibly support this way to improve compatibility with DJGPP
BC> apps.

     As cited by Daniel Verkamp, there used (hidden) pointer to transfer
buffer.

     Also, (some) OpenWatcom tools support passing options through
environment variable:

set myvar=<myoptions>
wcc @myvar

WCL uses this mechanism, when passing options to WCC/WPP.

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

Reply via email to