delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/11:13:11

Date: Sun, 25 May 1997 18:08:05 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: eyal DOT ben-david AT aks DOT com
cc: djgpp AT delorie DOT com
Subject: Re: problem: EMACS and RCS
In-Reply-To: <C22564A2.0045E972.00@aks.com>
Message-ID: <Pine.SUN.3.91.970525180018.6797B-100000@is>
MIME-Version: 1.0

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 -


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