Mail Archives: djgpp/1997/05/25/11:13:11
On Sun, 25 May 1997 eyal DOT ben-david AT aks DOT com wrote:
> When I want to re-create an older version of a file, RCS (or EMACS ?)
> complains that it can't find the file '/bin/sh.exe'. I created /bin
> directory and copied bash to that dir as sh.exe and all worked fine.
No, it should work when sh.exe is anywhere on your PATH. Please tell
exactly what do you type inside Emacs and what error message does it
print, and I will try to understand what's going on there. (Is that
Emacs 19.34 from v2gnu directory on SimTel.NET?)
Btw, you don't need to copy bash.exe to sh.exe in %DJDIR%/bin either:
just use the ``symlink'' feature, like so:
ln -s bash.exe sh.exe
or, if you don't have `ln' (from Fileutils):
stubify -g sh.exe
stubedit sh.exe runfile=bash
This creates sh.exe that's just 2KB-long, instead of 400-odd KBytes of
bash.
> Does RCS really need /bin/sh ?
It needs a Unixy shell to run a certain shell script (I don't remember
the details right now).
> Can 4DOS be used instead bash ?
You must be kidding. Powerful as 4DOS is, it cannot replace `sh' when
you need to run a complex shell script. Besides, DJGPP library functions
automatically call sh when they see a file which begins with #!/bin/sh
string.
- Raw text -