Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #19564

Re: What is the XA_SECONDARY clipboard?

From T <T@invalid.invalid>
Newsgroups comp.os.linux.misc, comp.os.linux.x
Subject Re: What is the XA_SECONDARY clipboard?
Date 2017-03-16 09:31 -0700
Organization A noiseless patient Spider
Message-ID <oaeeet$d3a$1@dont-email.me> (permalink)
References <o9n8a5$fd6$1@dont-email.me> <eli$1703081723@qz.little-neck.ny.us>

Cross-posted to 2 groups.

Show all headers | View raw


On 03/08/2017 02:36 PM, Eli the Bearded wrote:
> In comp.os.linux.misc, T  <T@invalid.invalid> wrote:
>
> I added a crosspost to comp.os.linux.x. I had also been hoping someone
> would answer before me, but...
>
>>  From "man xclip" I see that I have three clipboards:
> ...
>>     "secondary" or XA_SECONDARY
>>
>> I am very familiar with the first two.  What is XA_SECONDARY?
>> And how do I use it?
>
> $ tail -3 ~/.Xdefaults
> XTerm.vt100.translations: #override                        \n\
>   <Key>KP_Subtract: insert-selection(SECONDARY) \n\
>
> $ echo "This is SECONDARY!" | xclip -selection secondary
> $ : now start a new xtem and hit key-pad minus
>
> You can also use the '-name NAME' option to xterm to have it look for
> default settings under a different name (NAME.vt100.translations) for
> those times when you want a mapping only for testing or some particular
> terminal based program.
>
> Elijah
> ------
> didn't figure out how to copy to SECONDARY from xterm
>


Thank you!

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

What is the XA_SECONDARY clipboard? T <T@invalid.invalid> - 2017-03-07 13:25 -0800
  Re: What is the XA_SECONDARY clipboard? Eli the Bearded <*@eli.users.panix.com> - 2017-03-08 22:36 +0000
    Re: What is the XA_SECONDARY clipboard? T <T@invalid.invalid> - 2017-03-16 09:31 -0700
    Re: What is the XA_SECONDARY clipboard? Charles Lindsey <chl@clerew.man.ac.uk> - 2017-03-22 16:23 +0000
      Re: What is the XA_SECONDARY clipboard? Eli the Bearded <*@eli.users.panix.com> - 2017-03-22 20:07 +0000

csiph-web