[Conkeror] flailing about on upgrade

Brian May bam at snoopy.apana.org.au
Mon Mar 24 15:45:47 PDT 2008


John J Foerch wrote:
> Mozilla's cmd_copy, cmd_cut, cmd_paste commands all work on X's
> CLIPBOARD buffer, which is correct.  X also has a PRIMARY_SELECTION
> buffer, which is supposed to be used for, well, the primary selection,
> but some programs like Emacs pull funny business that mixes up
> CLIPBOARD and PRIMARY_SELECTION.  I see that you already found the
> command paste-x-primary-selection on Shift-Insert.  The old M-SPC
> command was a strange hack--it just copied the contents of
> PRIMARY_SELECTION into CLIPBOARD.  If you want to use C-y to work with
> the PRIMARY_SELECTION, a better strategy is to just rebind C-y to
> paste-x-primary-selection.
>   
You get get xterm to use the CLIPBOARD with x resources something like:

XTerm.vt100.translations:    #override \n\
               ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, 
CUT_BUFFER0) \n\
               Shift~Ctrl<Btn2Up>:  insert-selection(CLIPBOARD, 
CUT_BUFFER1) \n\
               <BtnUp>:       select-end(PRIMARY, CLIPBOARD, 
CUT_BUFFER0, CUT_BUFFER1) \n\
               Ctrl Shift <KeyPress> Y: insert-selection(CLIPBOARD, 
CUT_BUFFER1)

Anybody know if the same thing is also possible for rxvt? xterm has some 
bugs in that I rather avoid.

Thanks.

Brian May


More information about the Conkeror mailing list