On Wed, Sep 12, 2012 at 08:42:20AM -0500, Mike Putnam wrote: > On Tue, Sep 11, 2012 at 09:48:32PM +0200, Frank Brodbeck wrote: > > > > This isn't as consistent as one'd hope it to be. For instance, selecting > > > > + middle-clicking works fine between xxxterm and xterm (both ways) but > > > > right-clicking + "copy link location" + middle-clicking in xterm > > > > doesn't. > > > > > > > > > > An OS-wide copy/paste buffer would be swell. > > > > There is one, actually with PRIMARY and CLIPBOARD there are two that I > > know off. Selecting stuff sends it to PRIMARY, middle-click pastes from > > PRIMARY. Your right-click + "copy link location" - or ctrl + c in some > > applications - sends stuff to CLIPBOARD. If you want to paste from > > CLIPBOARD into xterm you can either install xclip or you can > > adjust your .Xdefaults: > > > > XTerm*VT100.Translations: #override \ > > ShiftInsert: insert-selection(CLIPBOARD) \n\ > > Insert: insert-selection(PRIMARY) \n\ > > Shift: insert-selection(CLIPBOARD) \n\ > > Shift: select-start() \n\ > > Shift: select-extend() \n\ > > Shift: select-end(CLIPBOARD) > > > > Among other stuff, this lets you paste via Shift + Insert stuff from > > your CLIPBOARD. As a reference see xclipboard(1) and xterm(1). > > > > Frank.
There's also autocutsel in the ports tree. Yeah, it's a bit more expensive, but when the X folks completely over-designed that stuff, they were probably thinking that tools like autocutsel would be standard or something.

