[comp.windows.x] xclipboard - what am I doing wrong?

gregh@bilbo.locus (Gregory Holmberg) (01/28/89)

Could someone explain how the xclipboard works?  Either I'm missing
something or my port to SVR3 isn't working.

Suppose I've added this to my resources:
	
*VT100.Translations: #override \
	~Meta	<Btn2Up>:	insert-selection(CLIPBOARD) \
	~Meta	<BtnUp>:	select-end(CLIPBOARD)

*Text.Translations: #override \
	Button1	<Btn2Down>:	extend-end(CLIPBOARD)

Now, in my VT100 xterm window (R3), I press Button1, drag it to the right
(text is highlighted) and release.  This should copy the highlighted
text to the CLIPBOARD selection property, right?  The text should then
just appear in the xclipboard text widget, right?  Or is there something
else I have to do?  Nothing shows up in my xclipboard window.  I can
copy text to another xterm, so the selection mechanism in my R3 server
works.

Is it me or my clipboard?

Lost and confused,

Greg Holmberg

Locus Computing Corporation
9800 La Cienega Boulevard
Inglewood, California  90301-4440
213 / 670 - 6500

ARPANET:  {lcc.gregh, lcc!gregh, bilbo.gregh}@SEAS.UCLA.EDU
UUCP:     trwrb!lcc!gregh
          {randvax,sdcrdcf,ucbvax,trwspp,decvax}!ucla-se!lcc!gregh

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/30/89)

    Is it me or my clipboard?

You.  For xterm, try the following:

*VT100.translations: #override \n\
	~Meta	<Btn2Up>:	insert-selection(CLIPBOARD) \n\
	~Meta	<BtnUp>:	select-end(CLIPBOARD)