Mail Archives: djgpp/1995/05/31/06:32:35
As per my previous question, I understand now that DJGPP-compiled (or is
it just GO32-exected?) programs automatically parse command-line
arguments which begin with the at ('@') character as list files. There
is clearly good reason for this; MSDOS's limit on command-line lengths is
absolutely pitiful and insufficient for doing any serious development
work.
Now the problem is that this '@' prefixing is fairly common in the real
world, so other people doing development under DJGPP/GO32 (such as
myself) would like to do the same thing. The problem is, I'd like to
extend the functionality, such as by supporting default filename
extensions (i.e., the command-line argument @foo looks in the file
foo.ini for further instructions), or modifying the content of what's
contained in that list file.
I can escape the sequence by enclosing it in double quotes, but this is
rather inconvenient. Is there any way to turn off this functionality in
the executable that I build (which has GO32 built in), but, naturally,
leaving the functionality alone for other programs?
Thanks.
Erik Max Francis, &tSftDotIotE ...!uuwest!alcyone!max max AT alcyone DOT darkside DOT com
San Jose, CA ... GIGO, Psi, Universe ... ICBM: 37 20 07 N 121 53 38 W _
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- ftmfbs kmmfa mc2 / \
Omnia quia sunt, lumina sunt. ("All things that are, are lights.") -><- \_/
"We all may have come on different ships, but we're in the same boat now."
- Raw text -