X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B407018.2080702@gmail.com> Date: Sun, 03 Jan 2010 10:23:20 +0000 From: Dave User-Agent: Thunderbird 2.0.0.23 (X11/20091126) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7.1: Does 'chere' work with Vista 64b? Can't tell by me. References: <4B364CEE DOT 6090806 AT veritech DOT com> <4B37E341 DOT 2010007 AT cygwin DOT com> <4B392862 DOT 1000605 AT veritech DOT com> <4B392CF7 DOT 1030404 AT cygwin DOT com> <4B393DE0 DOT 9030400 AT veritech DOT com> <4B396241 DOT 5080406 AT cygwin DOT com> <4B3B2A20 DOT 3080602 AT gmail DOT com> <4B3C7901 DOT 5020203 AT veritech DOT com> <4B3CB391 DOT 8070304 AT gmail DOT com> <4B3D0FA5 DOT 1030908 AT veritech DOT com> In-Reply-To: <4B3D0FA5.1030908@veritech.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Lee D. Rothstein wrote: > Dave wrote: > > > So chere has managed to set the keys, and read them back fine. What > > happens when you run the following command in cmd (all one line)? > > > C:\_0\bin\mintty.exe --icon=c:\_0\cygicons-hippo-vista-0.dll,10 - -e > > /bin/xhere /bin/bash.exe "c:\Program Files" > > I think 'mintty'/'bash' window flashes open and closed. Menu item > for Cygwin remanined cygwin_bash. Command doesn't work in exactly > the same way as before. > > >> If you're out of ideas, might you give me some clues to look for > >> bad keys in the registry? > > > Check HKEY_CLASSES_ROOT\Directory\Shell\cygwin_bash. It's value should > > be the context menu item text, "Mintty Bash" > > Value was null. > > > It should have one subkey, command, whose value is the command to run > > "c:\_0\bin\mintty ...". > > Value was null. Either registry virtualisation, or redirection is interfering. My guess is the latter. This is consistent with Larrys' report of chere working on 64 bit Windows 7, as Microsoft states HKLM/SOFTWARE/Classes is shared on W7 and redirected+reflected on vista, server 2003, server 2008, xp. I'm not on windows right now, but does regtool have the ability to control redirection/reflection or whether it writes to the 32/64 bit version of the key? That's what chere would need to operate correctly. Otherwise it needs to resort to outputting a .reg file and installing it. > However, your registry key comments were helpful. Okay, now > we're gettin' somewhere. Where? You tell me. > > When I 'regedit'ed the registry with what you specified in the > above paragraphs, using "Mintty_Bash" &: > > C:\_0\bin\mintty.exe --icon=c:\_0\cygicons-hippo-vista-0.dll,10 - > > the 'mintty'/'bash' window opens, but not to the folder indicated. Did you include the '-e /bin/xhere /bin/bash "%L"'? That's the bit that selects the folder. Dave. -- 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