From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Ambitious suggestion for a DJGPP add-on Date: Sun, 24 Oct 1999 09:38:28 +0200 Organization: NetVision Israel Lines: 49 Message-ID: References: NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 940750627 9009 199.203.121.2 (24 Oct 1999 07:37:07 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 24 Oct 1999 07:37:07 GMT X-Sender: eliz AT is In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 21 Oct 1999, Damian Yerrick wrote: > > - it must be able to run with no DPMI server installed (otherwise it's > > a chicken-and-egg problem, since CWSDPMI is distributed in a zip > file). > > Enclose CWSDPMI in djinst1b.zip > Or build it with MS Visual C++ A much better solution is to bind with PMODE/DJ, as Laurynas pointed out. > > - it must detect and cope with a case of insufficient environment space > > (after you add the DJGPP variable and enlarge PATH). > > Ask the user if s/he wants the environment enlarged in > the SHELL= line in config.sys. The main problem is how do you *detect* the insufficient environment in the first place. (That's the _parent_ environment, mind you; programs don't have a good way of reaching the parent environment.) In addition, most CONFIG.SYS files don't even have the SHELL= line. If you create one, you need to know what the user's shell is, which is also non-trivial. > > DJGPP v2.03 already includes the required > > entries in stock DJGPP.ENV. > > And is it officially out yet? No. But it certainly *will* be before the project you are suggesting. (At least I hope so. ;-) > Start menu items *are* shortcuts. I know. Your wording was confusing, that's all. Most people don't refer to the Start menu as shortcuts, they reserve shortcuts for something else. > > Why not arrange a shortcut for DJGPP? > > Shortcut to which EXE? COMMAND.COM, of course. What I meant was to set up a DOS box where all the environment variables are set as DJGPP requires. That would prevent the need to mess with AUTOEXEC.BAT, except on plain DOS installations.