delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/26/05:04:53

From: eyal DOT ben-david AT aks DOT com
To: eliz AT is DOT elta DOT co DOT il
cc: djgpp AT delorie DOT com
Message-ID: <C22564A3.00306C47.00@aks.com>
Date: Mon, 26 May 1997 12:02:40 +0300
Subject: Re: problem: EMACS and RCS
Mime-Version: 1.0



>> 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.
I think I solved the problem. The problem is with the lisp file  vc.el  in
the function
'vc-backend-checkout'.  The Lisp code creates an in-memory shell script and
then
runs it by invoking  "/bin/sh"  (hard-coded). I changed the string
"/bin/sh" to just
"sh" , compiled it and copied it to Emacs/lisp directory. Now it works fine
since
 "sh" is found on the PATH.

>> 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.
You are right. I thought that "sh" is used only to run a 'child process'.

Thanks.

Eyal.



- Raw text -


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