This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.1: Does 'chere' work with Vista 64b? Can't tell by me.
- From: Dave <kilroyd at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 03 Jan 2010 10:23:20 +0000
- Subject: Re: 1.7.1: Does 'chere' work with Vista 64b? Can't tell by me.
- References: <4B364CEE.6090806@veritech.com> <4B37E341.2010007@cygwin.com> <4B392862.1000605@veritech.com> <4B392CF7.1030404@cygwin.com> <4B393DE0.9030400@veritech.com> <4B396241.5080406@cygwin.com> <4B3B2A20.3080602@gmail.com> <4B3C7901.5020203@veritech.com> <4B3CB391.8070304@gmail.com> <4B3D0FA5.1030908@veritech.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.
<http://msdn.microsoft.com/en-us/library/bb530198.aspx>
<http://msdn.microsoft.com/en-us/library/ms724072%28VS.85%29.aspx>
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. <http://msdn.microsoft.com/en-us/library/aa384253%28VS.85%29.aspx>
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