[comp.windows.x] problem with selections in xterm-windows

hoenig@plato.informatik.uni-kl.de (Helmut Hoenig - Hiwi) (03/07/90)

How can I use the selections of xterm in my own program ?

I first thought I can do that by using the CUT_BUFFER0, since
the selected string of xterm is available there. But I can only
read the string. When I store my own string in that buffer,
xterm seems to change its storing method in the next selection.
Afterwards, the selection of xterm is still stored in the cut-buffer,
but somewhere else too, since I can change the cut-buffer without affect
to the selection.

Where is the selected string stored ?
What is the easiest way to find and change it ?

-- Helmut Hoenig
   hoenig@informatik.uni-kl.de