www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/29/17:58:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Attachments: None
From: "Roe, Kevin L." <roe2 AT llnl DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 29 Nov 2010 14:58:04 -0800
Subject: RE: 1.7.7: Open BASH Shell Here goes to wrong location
Message-ID: <C742AC34C772EC4BAAF642C22E6079D301376F8E890D@NSPEXMBX-A.the-lab.llnl.gov>
References: <C742AC34C772EC4BAAF642C22E6079D301376F8E885C AT NSPEXMBX-A DOT the-lab DOT llnl DOT gov>
In-Reply-To: <C742AC34C772EC4BAAF642C22E6079D301376F8E885C@NSPEXMBX-A.the-lab.llnl.gov>
MIME-Version: 1.0
X-IsSubscribed: yes
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

I have determined that modifying the registry entry to:

[HKEY_CLASSES_ROOT\Directory\shell\bashrxvt]
@=3D"&Open BASH Shell Here"
[HKEY_CLASSES_ROOT\Directory\shell\bashrxvt\command]
@=3D"C:\\cygwin\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%L\""
[HKEY_CLASSES_ROOT\Drive\shell\bashrxvt]
@=3D"&Open BASH Shell Here"
[HKEY_CLASSES_ROOT\Drive\shell\bashrxvt\command]
@=3D"C:\\cygwin\\bin\\mintty.exe - e /bin/xhere /bin/bash.exe \"%L\""


...fixes the problem.  But this is lame.

I know Windows explorer is supposed to pass the location to minty, so why d=
o I need to jump through these hoops?

Does anybody have any understanding of what is going on?

-Kevin


> -----Original Message-----
> Behalf Of Roe, Kevin L.
> Sent: Monday, November 29, 2010 11:12 AM
> Subject: 1.7.7: Open BASH Shell Here goes to wrong location
>=20
>=20
>=20
> I have set up a registry entry:
>=20
> [HKEY_CLASSES_ROOT\Directory\shell\bashrxvt]
> @=3D"&Open BASH Shell Here"
> [HKEY_CLASSES_ROOT\Directory\shell\bashrxvt\command]
> @=3D"C:\\cygwin\\bin\\mintty.exe -"
> [HKEY_CLASSES_ROOT\Drive\shell\bashrxvt]
> @=3D"&Open BASH Shell Here"
> [HKEY_CLASSES_ROOT\Drive\shell\bashrxvt\command]
> @=3D"C:\\cygwin\\bin\\mintty.exe -"
>=20
> This creates the BASH Shell here links in Explorer, but there is a
> problem.
>=20
> When I try to use it, it goes to the wrong location.
>=20
> When I use it in the directory tree side (left side) it always goes to
> the /cygdrive/c/Windows/system32 directory
>=20
> When I use it in the Directory side (right side) it always goes to one
> level below what I am selecting.
>=20
> Any ideas?
>=20
> Kevin

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019