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: Date: Mon, 26 May 1997 12:02:40 +0300 Subject: Re: problem: EMACS and RCS Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Precedence: bulk >> 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.