Today I updated x11/xterm to the latest patchlevel (#361). Now copying and pasting is broken. Selecting text with the shift key and right mouse button doesn't work.
This only seems to happen in most xterm applications like lynx etc. Selecting in plain xterm still works.
hmm - it seemed to work properly for me:
amend rule for using shift-key to override mouse-protocol for select/paste to limit that feature to mouse-buttons which are actually bound to select/paste actions
Either I overlooked some case here, or there's some user-configured translations resource that I'm mishandling.
Same here. I don't see any issues with copy/paste. Could you maybe provide steps how to reproduce the error you're seeing?
Steps are simple:
1 run lynx
2 try to select some text by pressing the shift key + right mouse click
Found out that this works in irc/irssi, but not in www/lynx or mail/alpine.
Maybe it has something to do with ncurses?
Sorry step 2 is shift key + left mouse click of course.
This works fine on my machine. Can you share your xterm specific resource configuration?
My .Xresources file:
This can be closed. Turns out that after the xterm update, I had to actually turn off mouse support in the different applications like lynx and alpine. After that selecting works.
Revisiting this with a debug-trace and testing with vttest, I think that there's a problem to investigate, since the button-release events aren't absorbed by select/copy actions when shifting the mouse.
Maybe a bug.
There's something to improve, but at the moment I don't believe it's what was reported here.
I was looking at the motion-events which are reported (sending an escape sequence) while in any-event or button-event mode. That would require a special terminal description for lynx to see those (and it wouldn't use them, actually, though ncurses might be confused).
At the moment I'm working on an improvement for the motion-events, to make the special-case work consistently with the change I made for button-events. I'll probably be seeing some bug-report for this inconsistency, but a regression in select/paste is more urgent.
OK. I'll close this report. Should new facts arise we can always re-open it.