[feature proposal] save selection in CUT_BUFFER0 on close

Marc Lehmann schmorp at schmorp.de
Sat Jan 20 16:00:12 CET 2007


On Sat, Jan 20, 2007 at 02:40:08PM +0100, Andrei Paskevich <andrei at capet.iut-fbleau.fr> wrote:
> selections in CUT_BUFFER (not on close, but every time something is
> selected). I would not qualify this as a bug of urxvt, since my GUI

Cut buffers are obsolete and can only reliably store latin1. I will not
implement support for cut buffers for those reasons, as you can always use
rxvt for that (it supports latin1 just fine).

>    and if so, puts the selection text into CUT_BUFFER0, either as 
>    a UTF8_STRING or as a COMPOUND_TEXT.

This is not allowed, and will crash many programs.

> or standard rxvt window. For some reason, which I don't grasp yet,
> my xterm ignores UTF8_STRINGs in the cut buffer, though COMPOUND_TEXT
> pastes fine. 

cut buffers do not support compund text or utf8_string, nor long
selections either. they should not be used in any new software.

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcg at goof.com
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE




More information about the rxvt-unicode mailing list