www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/31/06:32:35

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: How to suppress '@' command-line parsing?
From: max AT alcyone DOT darkside DOT com (Erik Max Francis)
Date: Tue, 30 May 95 11:12:40 PDT
Organization: &tSftDotIotE

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019