X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 22 Nov 2011 20:11:20 +0000 Message-ID: Subject: mintty mouse (was: Re: XWin.exe causes Windows apps. to freeze) From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pAMKBmms011157 [moved from cygwin-xfree list, as this thread has got off-topic there] On 22 November 2011 05:47, Ryan Johnson wrote: > On 22/11/2011 12:27 AM, Andy Koppe wrote: >> >> On 21 November 2011 23:45, Ryan Johnson wrote: >>> >>> On 21/11/2011 4:25 PM, Jim Reisert AD1C wrote: >>>> >>>> On Mon, Nov 21, 2011 at 1:20 PM, Ryan Johnson wrote: >>>> >>>>> Mouse copy/paste in mintty is identical to xterm AFAIK... select = >>>>> copy, >>>>> middle button = paste. If you're in a mouse-using terminal app you have >>>>> to >>>>> hold down [shift] but that's the same in xterm, I think. >>>> >>>> Not on mine it isn't: >>>> >>>> * double-click on word  hightlights, but does not copy >>>> * middle button paste does work >>>> >>>> In my xterms, I just have to double-click LMB to copy, then MMB pastes. >>> >>> That's very strange... I can't tell you how many ad-hoc excel graphs I've >>> populated with numbers grabbed by double-click from experiment output. >>> Triple-clicking to get the whole line also comes in handy at times. I >>> just >>> tested again in case it changed since yesterday, and it still works for >>> me. >> >> Options ->  Mouse ->  Copy on select >> >> This is on by default these days, but wasn't originally. Evidence >> again that functionality that isn't enabled by default might as well >> not be there as far as most users are concerned. Speaking of which, my >> own favourite mintty feature is 'Clicks place command line cursor' on >> the same page, which can greatly speed up navigating long command >> lines. > > Holy smokes Batman! How long has that been there? Since mintty 0.4.0. > A quick test confirms that > it also works for readline-enabled app prompts (python, gnuplot, gdb). And > here I've been copying long commands to notepad for editing all this time... > > Too bad screen spoils the fun for the prompts it manages. It's because the cursor placement is disabled on the alternate screen and in application cursor key mode, both of which are enabled by Screen. These are taken as signs that something other than a simple command line program is running, where the feature might be exposed as the cursor key press inserting hack that it is. Andy -- 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