delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/20/16:12:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-transfer-encoding:content-type; q=dns; s=default; b=exh
dPTAY8NvQ2SQcTCADFW71D+6PMdTOdm0RxJMWyvPiAM4S4AcINSK1/Wx+k05RklK
BFlBfrw7oyH6veWkK3vpUdKvxhmL03dGUSUPiAwRjsin9Cdeok1CGwhSBZ+iU3jX
RpwFkcMCHRkwvR8h+8eST4QNJjh1r/tAXaXEFqlg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-transfer-encoding:content-type; s=default; bh=Kc7IMNaL7
cQVD9Xq1bTosLKPBa4=; b=t5sDner5vWipC1rP7gvCHwmO51XqWOm0Hhqfnn8Th
H8+qjzaioszuLXnuGeIFI+nZ0k6QSs3vdVqOPvk8L4AMM/k2aWHkAZ4puQP9o5oG
Ov5VKhOMVKsT3V/V4EgBJJB8q5ODX/8MJhmeURJ6gfVH8GzDTwBVCSsPIpJmdd+/
Ic=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=dates, 5.7, RCS, H*F:D*web.de
X-HELO: mout.web.de
From: Heinz Werner Kramski-Grote <kramski AT web DOT de>
To: cygwin AT cygwin DOT com
Subject: Unable to use Cygwin RCS commands in Windows Emacs
Date: Wed, 20 Sep 2017 22:12:29 +0200
Message-ID: <2609139.qye4Nty6R7@sandl>
MIME-Version: 1.0
User-Agent: ACME-MUA
X-UI-Out-Filterresults: notjunk:1;V01:K0:37KPX/GczKY=:pDHPFwCsx1dIBo13cnOKSs v6JVCxopUXuVgQHOTtw9GozK4Az5glSoQKBhyxX2a0ZRwkM3j/kz0yXVG0O1SacaKkvh0Ysir kL9ttek6gDcWKQhkfNPRbeSonHUI0o/W2fYjMsJQ50u+uu+P/3H2HREwvG/teFL8U5ldSDs/3 0ASqmCKBIEJSOH52k5Ex/tW9/mLq5zkJnQJAC5NKmUttAU6vZ/ouVDFSs+REo/zOeNuJucylj fviv7RWWEoFrClXxebD/Lg4Kr/5GqIbofawjWsCUqvUedM14A61Ld8rwnLZheUhX/lxGpHUBA 51x09aJlz+Iv2TV/PL68+tzS7lcfYnvYHbY87sQLlKjKZBSt/pVLEvqr0YzO11FYaV9L0TAfz GFkoKBEl3kgvjVB6DmahIbUEwsxQwcNA9H2qIyagxpfNOZv45nXyf4fZfpFz/ZU+/HEOfLv06 wM8MRaQD8EChwWaRrK0cZUoWk0T85Tgvlvu4JFioJqqCjik6QflWmTusx4eLZKmkbi6IHEbiw 50Lxmlp3jEVewZvX1pY252CMDiuns1wyvBcfAt/0Ma8sNaBCM2xh0+6E7KrdE3eG9LrdNv1Ma pJndwtVpKTLSFuB8a4Lm+Mq2MmP0Ei8IVUOXBc+YW7NG7z/j24NefIN82JXcWUoJFn+ze6THi TruIDYa0M2YRWmbFYrAufunRVXshPU+ew2MOpN9NIpcyIJyftoA0ibFvrRELEaQDxqFjWBMLQ MnFJZWqC0L/oEMac4S4MnNxMVd7hTIIj++jYv68a/SNNP1l3krLoTMAiEDTMGvMNVp/3xU0rC 9URFduh2wp0WyPtZhQp8c9npQiE3zbLH/1WxzDr7eV0PwHHW3M=
X-IsSubscribed: yes

At some point in history, /usr/bin/co, /usr/bin/ci, /usr/bin/rlog etc. turned 
from .exe into shell scripts, which are now wrappers for the main program 
/usr/bin/rcs.exe. 

However, these shell scripts can not be called directly from a Windows command 
line and moreover can not be invoked by a Windows (not Cygwin) Emacs (25.2 
currentlly).

Windows Emacs expects external Windows commands/binaries like co, ci, rlog, 
etc.  to exist somewhere in the PATH. The commands to be invoked for version 
control with RCS are hardcoded into "C:\Program Files\emacs-25.2\share\emacs
\25.2\lisp\vc\vc-rcs.el" and can not be customized, as far as I know.

I tried to create wrapper scripts for Windows too (co.cmd, ci.cmd etc. -  
basically just "c:\cygwin\bin\bash -c '/bin/%~n0 %*'"), which work to some 
extend on the Windows command line, but mostly fail when invoked from Emacs' 
version control functions.

The most recent native Windows port of RCS I could find is version 5.7 and 
dates back to 1999. In addition, it uses filenames like "RCS/somefile" instead 
of the usual "RCS/somefile,v", so this does not look like a way to go either. 

I'm clueless now. Does someone successfully use Cygwin's RCS commands in 
Windows Emacs? Is there still an older Cygwin RCS package around which 
contains "real" co.exe, ci.exe etc.? 

Any help is greatly appreciated.
   Heinz

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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