| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_PD,TW_RX,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4E691CFD.50201@gmail.com> |
| Date: | Thu, 08 Sep 2011 20:52:29 +0100 |
| From: | Dave Kilroy <kilroyd AT googlemail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: chere on Win2008 Server - strange behavior |
| References: | <D0CBCC01C005D44CB4009B8A6B532BE41EA14609 AT IAD2MBX11 DOT mex02 DOT mlsrvr DOT com> |
| In-Reply-To: | <D0CBCC01C005D44CB4009B8A6B532BE41EA14609@IAD2MBX11.mex02.mlsrvr.com> |
| 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 |
--------------070900050505050709000805
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
On 08/09/2011 15:51, Jim Garrison wrote:
> I ran chere as follows:
>
> chere -i -t mintty -s bash -a -n -e"bash Shell Here" -o "-s140,50"
>
> However, the Windows Explorer context menu reads:
>
> cygwin_bash
>
> not "bash Shell Here", and when clicking on it I get an error dialog:
>
> [directory in which I clicked context menu]
> This file does not have a program associated with it for performing this action.
> Create an association in the Set Associations control panel.
>
> I have updated all Cygwin packages to the latest available.
> Output of chere -r (bash keys only, all others empty):
>
> $ chere -r
> OS is CYGWIN_NT-6.0-WOW64
Hi Jim,
This has come up a couple of times:
<http://cygwin.com/ml/cygwin/2009-12/msg00868.html>
<http://cygwin.com/ml/cygwin/2010-01/msg00056.html> (continued)
<http://cygwin.com/ml/cygwin/2007-12/msg00157.html>
Basically there's a 32 bit registry and a 64 bit one. chere uses the 32
bit one. This works on 64 bit Windows 7, but not some others.
I thought I'd done a release fixing this. You can try the attached
patch, which should make chere play with the appropriate registry.
Dave.
--------------070900050505050709000805
Content-Type: text/plain;
name="chere.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="chere.patch"
--- chere.prev 2009-01-29 22:15:52.001000000 +0000
+++ chere 2011-09-08 20:39:21.436409000 +0100
@@ -816,8 +816,9 @@
#########################################################################
# Need to use eval to force correct quote evaluation
-REGTOOL="eval regtool"
-REGTOOL_=regtool
+REGTOOL_="regtool -w"
+REGTOOL="eval $REGTOOL_"
+
KNOWN_TERMS="cmd rxvt mintty xterm"
KNOWN_SHELLS="ash bash cmd pdksh posh tcsh zsh passwd"
@@ -854,7 +855,7 @@
c ) ALL_USERS=f;;
n ) DO_WIN_UINST=t;;
m ) DO_WIN_UINST=f;;
- p ) REGTOOL="echo regtool"; PRINT=t;;
+ p ) REGTOOL="echo $REGTOOL_"; PRINT=t;;
f ) FORCE=t;;
1 ) METHOD=1;;
2 ) METHOD=2;;
--------------070900050505050709000805
Content-Type: text/plain; charset=us-ascii
--
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
--------------070900050505050709000805--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |