Mail Archives: djgpp-workers/1999/04/15/11:25:21
Subj: Re: LBInstDJ
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
Dear Eli Zaretskii,
On 04-15-99 at 06:32:10 EST you wrote:
>
>
> On Tue, 13 Apr 1999 Kbwms AT aol DOT com wrote:
>
> > > if "%config%"=="CONFIG-NAME" PATH C:\DJGPP\BIN;%PATH%
> > > if "%config%"=="CONFIG-NAME" set DJGPP=C:\DJGPP\DJGPP.ENV
> > >
> >
> > I assume you mean that user's %djgpp% definition should be used?
> > For example, in my autoexec.bat I have:
> >
> > set djdir=c:\djgpp.v2
> > set djgpp=%djdir%\djgpp.env
>
> I don't think it's a good idea to set DJDIR, since the startup code
> computes it. And I don't see any advantage to using it in the above
> context.
>
Here's another line from my autoexec.bat (read-only) file:
PATH %djdir%\BIN;C:\;C:\DOS;C:\USR\BIN;C:\QUICKEN;C:\WINDOWS
What's more, I have 19 aliases in alias.sys for my KornShell based on
the setting of djdir at startup (i.e. before DJGPP gets started).
I suppose I could use a name like djdirt to avoid a collision but by
the time the collision might occur, all uses of the name `djdir' are
complete. Besides, the startup code stores its own value over mine
and I really mean for them to be the same anyway.
K.B. Williams
- Raw text -