www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/15:52:08

Date: Sun, 4 Oct 1998 13:01:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ian Chapman <Ian DOT Chapman DOT ichapman AT nt DOT com>
cc: djgpp AT delorie DOT com
Subject: RE: Install BASH shell
In-Reply-To: <915C65C50371D11187AD0000F881B9A401858CBC@bcarua62.ca.nortel.com>
Message-ID: <Pine.SUN.3.91.981004130052.1863g-100000@is>
MIME-Version: 1.0

On Fri, 2 Oct 1998, Ian Chapman wrote:

> My paths are not in autoexec.bat when I start djgpp work(I run a
> dj.bat to do that).

You didn't say that, so I had no means of guessing.

Setting PATH and the DJGPP in AUTOEXEC.BAT *is* the recommended way of
using DJGPP, even on Windows 9X.  Do you *really* have a grave reason
to delay that setup until you open the DOS box?

If you do, then make the command line of the shortcut be "bash.exe -"
and put the PATH setting into .bash_profile.  I still suggest to set
the DJGPP variable on AUTOEXEC.BAT, so that Bash itself will see it on
startup.

> I'm not even sure if autoexec.bat is run on starting a dos box.

No, it isn't, but it is run *before* Windows starts, and so the
settings there are propagated to all programs, including any DOS box
you open.

> 	"ls" works and "less file.txt" also works but "ls | less" gives pipe
> error less not found.

Seems like TMPDIR is not set correctly.

- Raw text -


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