[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#277832: #277832 - xterm: copy/paste of non-ISO-8859-1 characters between uxterm windows malfunctions



I've studied the relevant code and can see how I might improve this.  The
current code disowns the (primary) selection whenever the cursor moves before
the highlighted selection, just in case it might be followed by operations that
might alter the text under the selection.  That's a simple rule of thumb, but
overkill, since it doesn't mean that the selection actually changes.  For
example in the case I observed, the screen is updated in a region that did not
overlap the selection.

If the primary selection is no longer available (because it was disowned),
xterm falls back to cut buffers.  But those are always ISO-8859-1, so some
information is lost (and replaced by '#' characters).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: