www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/15/11:25:21

From: Kbwms AT aol DOT com
Message-ID: <cbc473e4.24475e80@aol.com>
Date: Thu, 15 Apr 1999 11:23:44 EDT
Subject: Re: LBInstDJ
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
CC: djgpp-workers AT delorie DOT com, lauras AT softhome DOT net
MIME-Version: 1.0
X-Mailer: AOL 3.0 16-bit for Windows sub 38
Reply-To: djgpp-workers AT delorie DOT com

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 -


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