A while back I posted about using Rxvt with Cygwin. As I mentioned then, using Rxvt instead of the default Cygwin shell solves a number of usability problems with the Cygwin shell, and gives you a much more comfortable, unixy shell environment.
But one thing that can be tricky about Rxvt is it’s cut and paste behaviour, which is quite a bit different than most Windows users are used to. You can’t use the Windows standard Control-C and Control-V keystrokes to cut from and paste to Rxvt. So what do you do?
Like many unix apps, Rxvt automatically copies anything you highlight with the mouse to the clipboard. Click and drag across a section of the Rxvt window with your mouse to highlight the text you want and presto! it’s on the clipboard. There are also a couple of mouse/clipboard shortcuts in Rxvt: doubleclicking in the Rxvt window will highlight the word under the mouse cursor and tripleclicking will highlight the entire line.
The tricky part is pasting into Rxvt. Instead of using Control-V, use Shift-Left Mouse click. Odd isn’t it? But trust me, you’ll get used to it.
I’ve seen a couple of posts on the net about editing .inputrc to re-map the clipboard paste function to Control-V, but I’ve never been able to get it to work quite right. If anyone out there has figured it out, I’d love it if you could help me. Please email me or post in the comment section below.