Mail Archives: djgpp/1998/10/09/10:26:07
Thanks Eli,
the tmpdir was not created by bash. I had to create it. Now it
works like a unix machine as far as I've got.
Regards Ian.
> ----------
> From: Eli Zaretskii[SMTP:eliz AT is DOT elta DOT co DOT il]
> Sent: Sunday, October 04, 1998 6:01 AM
> To: Chapman, Ian [CAR:TM14:EXCH]
> Cc: djgpp AT delorie DOT com
> Subject: RE: Install BASH shell
>
>
> 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 -