This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: right click paste in rxvt
- From: Thomas Dickey <dickey at his dot com>
- To: cygwin-xfree at cygwin dot com, Akash Jauhar <ajauhar at gmail dot com>
- Date: Fri, 14 Jan 2005 18:07:10 -0500 (EST)
- Subject: Re: right click paste in rxvt
- References: <13dbfa4d05011414384c123a24@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
On Fri, 14 Jan 2005, Akash Jauhar wrote:
hi list
i have a question for which i have been trying to find an answer for a
long time
I normally use a windows machine but sometimes need the power of unix
and hence have installed cygwin on my machine. when i connect to any
linux machine using putty i can usually select a word by highlighting
it with a left mouse click and paste it using the right mouse click.
how can one achieve the same in xterm on cygwin.
More specifically i want to modify xterm so that i can select and copy
with left mouse click and paste by clicking the right mouse button
instead of middle mouse button
any pointers how to do that
xterm's behavior is done by the translations resource, described in the
manpage. This chunk (which is much longer) does it all:
The default bindings in the VT102 window are:
Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
Shift <KeyPress> Select:select-cursor-start() \
select-cursor-end(PRIMARY, CUT_BUFF>
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net