On Fri, 17 Dec 2004, Vincent Lefevre wrote:
But I don't want to use the clipboard for that, as it doesn't work
with the middle-click with other applications (and it doesn't seem
to always work).
There aren't that many choices - the primary selection is only owned by
one application at a time. I reduced(*) xterm's tendency to give it up,
but
if another application asserts it, or
you start a new selection, or
something updates the xterm window where it's highlighted for
the selection
then the primary selection is lost - there's no standard mechanism to get
it back again.
(*) some minor improvements are possible, but I don't believe we're
talking about those.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net