Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: What is the XA_SECONDARY clipboard?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From T <T@invalid.invalid>
Newsgroups comp.os.linux.misc, comp.os.linux.x
Subject Re: What is the XA_SECONDARY clipboard?
Date Thu, 16 Mar 2017 09:31:05 -0700
Organization A noiseless patient Spider
Lines 32
Message-ID <oaeeet$d3a$1@dont-email.me> (permalink)
References <o9n8a5$fd6$1@dont-email.me> <eli$1703081723@qz.little-neck.ny.us>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 16 Mar 2017 16:28:14 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="9a039a98d8270adb734a1efab1bbf742"; logging-data="13418"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ifp8wE3k/eTRbNkK9rD2WWLrvzax/EzQ="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In-Reply-To <eli$1703081723@qz.little-neck.ny.us>
Cancel-Lock sha1:RLczyWhZG48c6H3kEQzjSouiG4Q=
Xref csiph.com comp.os.linux.misc:19564 comp.os.linux.x:279

Cross-posted to 2 groups.

Show key headers only | 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