X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=c7MWZE79JwGJca8TSSWjV+fsiirqw
	iAyHH3VleIUZFs5X59TqzwTbGQE3dAiv/x7UhHhIOkAtj+/s8uFdfjnECKJBUKsC
	Jdg098cCrqNWP80FhPQ7wCTjmv8HhVehlroSna1VMwE49YGkwoBjHc+CmgTx1KAt
	oZ3g4RHSc6l7Kw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=4au21Yz9JismeXhvVCP8YXBb3qk=; b=vXj
	fcjis5g4+wQ6KAurXHd/Lh4RE5yEsMwUFHOSluIPA4qgPyH91trqLL3zXAHdzaLr
	FMamHdIbEEQVTAIeev50H1cWlvMnXEVdHU6LR2P3EVu+sP3FBOcZr4j65J5+OKWi
	bNFQTtDmk9iwLzZ61DPP+oaBsvbaqrmatfp4YJFk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 spammy=barry, helped, highlighted, noticeable
X-HELO: nihxway5out.hub.nih.gov
X-SBRS-Extended: Low
X-IronPortListener: Outbound_SMTP
IronPort-PHdr: =?us-ascii?q?9a23=3AE90W2heFpuxnD4g8Qq9eEJGylGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxc6ybB7h7PlgxGXEQZ/co6odzbGG4+a4CCdZuMnJmUtBWaIPfidNsd?= =?us-ascii?q?8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4?= =?us-ascii?q?bt74BpTVx5zukbviq9uLMk4R3WX1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd?= =?us-ascii?q?5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GPZTHTs5MmYd79zkqhjF?= =?us-ascii?q?CwCI4zFUBm4HnQVJBSDO/R7lX5G3uSz/4LlTwi6faIfcULs0UzWk46pxDFfCgT?= =?us-ascii?q?0dJnZ51kD3zepRpYN34VqSiik1i9r+SpyeNPB/eK/QZ/scRGNAUoBXViwHDYSi?= =?us-ascii?q?OdhcR9EdNPpV+tGu72AFqgGzUFGh?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ADAgBM4u5W/4BHKJxdgzOBS7ocAQ2Bb?= =?us-ascii?q?4YNAoEgOBQBAQEBAQEBAWMcC4ItghQBAQEEEihPAgEIDQsKFBAfExcBDQIEGxq?= =?us-ascii?q?IBQWlJJkmAQEBBwEBAQEBG4Yfg0R/hDyDK4IrBZdXARaNbYlKhT2PBh4BAUKDZ?= =?us-ascii?q?YoBAX0BAQE?=
X-IPAS-Result: =?us-ascii?q?A2ADAgBM4u5W/4BHKJxdgzOBS7ocAQ2Bb4YNAoEgOBQBAQE?= =?us-ascii?q?BAQEBAWMcC4ItghQBAQEEEihPAgEIDQsKFBAfExcBDQIEGxqIBQWlJJkmAQEBB?= =?us-ascii?q?wEBAQEBG4Yfg0R/hDyDK4IrBZdXARaNbYlKhT2PBh4BAUKDZYoBAX0BAQE?=
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@niaid.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: faster opening Cygwin from Explorer window
Date: Sun, 20 Mar 2016 17:52:10 +0000
Message-ID: <6CF2FC1279D0844C9357664DC5A08BA21BD79586@msgb09.nih.gov>
References: <0D835E9B9CD07F40A48423F80D3B5A702EAE5FD0@USA7109MB022.na.xerox.net> <56EC182F.7080802@gmail.com>
In-Reply-To: <56EC182F.7080802@gmail.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u2KJU19X006371

Marco Atzeri sent the following at Friday, March 18, 2016 11:01 AM
>On 18/03/2016 15:43, Nellis, Kenneth wrote:
>> I frequently ping-pong back and forth between working in the Windows
>> and Cygwin environments, needing to keep both Explorer windows and
>> Cygwin PWD focused on the same folder/directory. (I use mintty in
>> Cygwin.)
>>
>> To open an Explorer window to my Cygwin PWD, I can simply type "cygstart .".
>> The reverse is a clumsy bit of typing and mousing: From Cygwin/bash,
>> enter "cd " (but not Return), go to my Explorer window and drag the
>> folder icon from the address bar into the mintty window and press return.
>> I'm looking for a simpler method.
>>
>> My ideal scenario is to right-click in the Explorer window, select the
>> new Cygwin option that I'd like to appear, and this would open a
>> mintty/bash window with PWD set to that Windows folder.
>>
>> Long shot, I know, but if anyone has done this and is willing to share
>> I'd love to hear about it. BTW, I'm using Windows 7 and am current on
>> Cygwin 64-bit.
>
> "Cygwin Prompt Here context menus"
>    looks on chere package

For a while recently - and for unknown reasons - the chere menu entries
were not working for me.  I ended up creating a shortcut in my SendTo
folder/menu that would open a bash window in the directory containing
the highlighted file or folder.  Not perfect, but better than nothing.

Target:
    C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L"
Start in:  [leave blank]

I don't remember whether there might be any customizations in .bashrc
that helped this to work, so YMMV.

BTW, chere is back working for me now.  Don't remember what - if
anything noticeable - changed.

- Barry

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


