From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78591 invoked by alias); 20 Sep 2017 20:40:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 78579 invoked by uid 89); 20 Sep 2017 20:40:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*R:D*ca, Kramski-Grote, kramski-grote, KramskiGrote X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Sep 2017 20:40:56 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id ulnhd9AS88LPZulnidDIEw; Wed, 20 Sep 2017 14:40:54 -0600 X-Authority-Analysis: v=2.2 cv=e552ceh/ c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=izVC_YfdFgwZI91fw0gA:9 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Unable to use Cygwin RCS commands in Windows Emacs To: cygwin@cygwin.com References: <2609139.qye4Nty6R7@sandl> From: Brian Inglis Message-ID: Date: Wed, 20 Sep 2017 20:40:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <2609139.qye4Nty6R7@sandl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAS481AJWWXH2YdwYae5yspKoWC1DiBHZCoWMVkGfxtK40DaEUxULCbz6QKiy9v65OuOxvphQOWSjIhatEYSdwOm7Lbv0War/XK2BP2CAu6vjQXSt0+X Fz+/jW7qNJi4ZsJjFg0ENtACfwxPGYDTHWoZkqRihxMzwvsbrjnDJC8Fvp0g/Bx3yR69/klRS+tq/w== X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00193.txt.bz2 On 2017-09-20 14:12, Heinz Werner Kramski-Grote wrote: > 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. Tried creating shortcuts to the commands in $HOME/bin/, running C:\Cygwin\bin\sh /bin/cmd %*, and adding $HOME/bin to the start of your Windows PATH? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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