Mail Archives: cygwin/2009/12/31/15:55:09
--------------070504000201040906060309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Dave wrote:
> Lee D. Rothstein wrote:
>> > It's been a while since I've had to look at chere. Bottom line -
there
>> > haven't been any previous reports of failures on Vista 64 bit (and I
>> > don't have a 64-bit system available to me).
>> How many of these?:
>> * Vista, 64 bit
>> * Root not at c:\Cygwin
>> * Mintty is terminal
>> * Bash is shell
>> * Not in any way using 'Cygin.bat' as the "invoker"
> Err, none? :)
> There might be problems, but this is the first report I've seen.
>> > Can you provide the output of `chere -r`, and the chere command
you've
>> > run most recently. That'll allow me to diagnose what it's tried
to do.
>> Attached!
>> Since, I had uninstalled 'chere', I reinstalled it, Bash run as
>> Administrator:
>> $ chere -i -a -n -e "Mintty Bash" -t mintty -o \
>> "--icon=c:\_0\cygicons-hippo-vista-0.dll,10 -"
> 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.
> I'm at a loss - googling indicates the keys should work on Vista. In
> particular the following page has comments listing the keys we use.
>
<http://www.howtogeek.com/howto/windows-vista/use-command-prompt-here-in-windows-vista/>
> Do any of the other suggestions in the comments bring up the command
> prompt for you?
The Only thing that the HowToGeek article showed, was how to get a
momentary <SHIFT><right click> menu item for 'cmd'. Yes, this
works on my system, including opening the 'cmd' window.
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.
--------------070504000201040906060309
Content-Type: text/plain;
name="chere-r+2009-12-31+15-42-53.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="chere-r+2009-12-31+15-42-53.txt"
OS is CYGWIN_NT-6.0-WOW64
chere version 1.1
run.exe is available at C:\_0\bin\run.exe
--- ash keys ---
--- bash keys ---
Directory menu item (all users)
Mintty_Bash
Directory command (all users)
c:\_0\bin\mintty --icon=c:\_0\cygicons-hippo-vista-0.dll,10 -
Drive menu item (all users)
Mintty Bash
Drive command (all users)
C:\_0\bin\mintty.exe --icon=c:\_0\cygicons-hippo-vista-0.dll,10 - -e /bin/xhere /bin/bash.exe "%L"
Uninstall description
Cygwin Bash Prompt Here
Uninstall command
C:\_0\bin\sh -c "/bin/chere -u -s bash"
--- cmd keys ---
--- pdksh keys ---
--- posh keys ---
--- tcsh keys ---
--- zsh keys ---
--- passwd keys ---
--------------070504000201040906060309
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
--------------070504000201040906060309--
- Raw text -