Re: clipboard again (was Re: Gnumeric and RHEL3)



On Thu, Jul 15, 2004 at 01:12:51AM +0100, Nick Lamb wrote:
On Wed, Jul 14, 2004 at 03:12:48PM -0400, Morten Welinder wrote:
There are no points for *talking* about fixing xterm.  You need to do
it and then sit down and wait for deployment.

To achieve what you seem to want is pretty simple, just add the following
one-liner to your VT100 translations in the X resource database, you should
be able to find more detailed instructions in the manual.

<BtnUp>:select-end(CLIPBOARD, PRIMARY)

This will merge more nicely into the stock xterm
XTerm*VT100*translations:       #override \
    <BtnUp>:select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) 

man xterm will list the stock bindings

Fixing the mistake in the wrong place helps no-one. I seem to remember
suggesting that Gnumeric didn't seem to use the middle mouse button for
anything on empty cells at least, and that seemed an appropriate place
to put a paste-PRIMARY feature, since some people seem to want one. I
don't know whether Jody would accept a patch to do that, or whether I
might be mistaken about the unused status of MMB click in Gnumeric.

Nothing currently uses it (aside from some demo drag and drop code)
I'd accept a patch.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]