This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mintty mouse (was: Re: XWin.exe causes Windows apps. to freeze)


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]