View Single Post
Old 07-25-2013, 12:24 PM   #440
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by HarryT View Post
Quote:
Originally Posted by j.p.s View Post
Fastest and easiest of all is middle click. I've only ever seen it supported in the X window system.
If you're a two-handed typist, taking your hand off the keyboard to use the mouse slows you down. Doing everything with the keyboard gives the optimal speed (IMHO).
Typing is one thing. Working with the text with a mouse is another. Even if you use the [g]vi[m] or [X]Emacs editor and have mastered all the key combinations for moving around, text objects and making selections, you still might want to grab a mouse and use it to select a piece of text in another window or in a console displaying remote system output.
And at that moment the "X window middle click" comes extremely handy.
The X window middle click works like this:
- You select a text using a mouse. You do not need to press any shortcut, use any menu. Just select a piece of text. It gets automatically copied into a special "mouse clipboard". So it won't mess the text you have put into the standard clipboard ten minutes earlier using the Ctrl+V or Ctrl+Insert or
- You place a cursor at the desired place and make short middle-click. Your text from the "mouse clipboard" is inserted at the cursor point.

If you only have an antique two-button mouse, you select the text and then paste it using right+left click (press two buttons simultaneously)

I have spent *lots* of time looking for a program that would provide that functionality on Windows. I have found two solutions but none of those works as seamlessly as the X window has been working since ancient times. It worked even on text terminals without x window.

On Windows, putty program supports paste by middle-click, but you have to copy the text manually into a regular clipboard.
kacir is offline   Reply With Quote