🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #9178

Re: Turbo C Linking Problem

#9178
From: Ralf Brown
Date: Wed, 24 Jan 1990 01:03
19 lines
1429 bytes
In article <3173@plains.UUCP> cooper@plains.UUCP (Jeff Cooper) writes:
}I use 4DOS, it allows 255 characters on the command line, and also lets
}you use aliases (like csh on UNIX).

Unfortunately, only the first 126 characters of the command tail can be
passed to external programs; this is a limitation of DOS.  Unless the program
has been written to check the CMDLINE environment variable, it won't see the
rest of the command line.

Of course, the longer command line means that the program name doesn't reduce
the length of the command tail that can be passed to the program (since
COMMAND.COM uses a DOS call which is limited to 127 characters to get the
input line).

-- 
{backbone}!cs.cmu.edu!ralf   ARPA: RALF@CS.CMU.EDU   FIDO: Ralf Brown 1:129/46
BITnet: RALF%CS.CMU.EDU@CMUCCVMA   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER? | _How_to_Prove_It_ by Dana Angluin  24. by appeal to intuition:
What's that?| Cloud-shaped drawings frequently help here.
Technical Details
Message-ID: <7692@pt.cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!b.gp.cs.cmu.edu!ralf
References: <1997@uwm.edu> <2687@hcx1.SSD.CSD.HARRIS.COM> <3173@plains.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!b.gp.cs.cmu.edu!ralf
From: ralf@b.gp.cs.cmu.edu (Ralf Brown)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Turbo C Linking Problem
Message-ID: <7692@pt.cs.cmu.edu>
Date: 24 Jan 90 01:03:47 GMT
References: <1997@uwm.edu> <2687@hcx1.SSD.CSD.HARRIS.COM> <3173@plains.UUCP>
Distribution: usa
Organization: Carnegie-Mellon University, CS/RI
Lines: 19