From: Earnie B. <ea...@us...> - 2012-05-29 12:39:50
|
On Mon, May 28, 2012 at 6:59 PM, Bob Tennent <rdt...@gm...> wrote: > >|I don't know how to code getting the text out of the clipboard; > >|presumably I have to re-map the middle-mouse button to do what > >|Windows expects (^V?). Can anyone help me? > > I've made some progress. I've learned that > > cat /dev/clipboard > > will output the contents of the clipboard at the command-line in msys. > So now I just need to figure out how to get middle-click to generate the > contents of /dev/clipboard. And what ever is in the clipboard is available for all applications. I think you're looking for something like http://msdn.microsoft.com/en-us/library/bb544998.aspx to control the event of the mouse wheel action. The action you describe works in the disdained RXVT. The mouse actions are coded in the W11 directory. Use it to get a clue. -- Earnie -- https://sites.google.com/site/earnieboyd |