On 2021-11-14 10:23, Denis Excoffier wrote:
On 2021-11-03 10:59, Mark Geisert wrote:
The following packages have been uploaded to the Cygwin distribution:
* cygutils-1.4.16-8
* cygutils-extra-1.4.16-8
* cygutils-x11-1.4.16-8

The '-u' or '-d' option of getclip does not seem to work properly under xterm.
How to reproduce:
1) Open an xterm
2) Select a simple piece of text (with no line ending)
3) getclip -u
4) Observe 'Segmentation fault(core dumped)'

Should not SEGV even if there is nothing to paste!

Those utilities do not have access to the X Window select buffer, only the X window copy buffer is copied to the Windows clipboard /dev/clipboard, so you may have to *COPY* the selected text to the clipboard, however that is done from xterm, perhaps C-S-v or using command xclip -sel c, before you can paste it.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to