The Emacs failed on clicking mouse-2 to paste, it caused by the mintty respond primer clipboard querying with constant "..;c;...".
Here a simple way to reproduce the issue:
$ echo -e '\e]52;c;?\e\\'
52;c;aGVsbG8=
$ echo -e '\e]52;p;?\e\\'
52;c;aGVsbG8=
The "..;p;.." query want a response same as "..;p;..", but mintty respond "..;c;..".
|
child_printf("\e]52;c;%s%s", b64, osc_fini()); |
The full steps to reproduce the issue are list as below, in a mintty, ssh to remote ubuntu 22.04, and
- run "emacs -nw -q"
- eval "(xterm-mouse-mode)" and "(xterm--init-activate-get-selection)"
- press middle button on mouse to paste text, it does not work; (press Ctrl+y works)
The bug was reported to emacs mail list https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79592, but located as a mintty issue.
The Emacs failed on clicking mouse-2 to paste, it caused by the mintty respond primer clipboard querying with constant "..;c;...".
Here a simple way to reproduce the issue:
The "..;p;.." query want a response same as "..;p;..", but mintty respond "..;c;..".
mintty/src/termout.c
Line 4525 in f942dfb
The full steps to reproduce the issue are list as below, in a mintty, ssh to remote ubuntu 22.04, and
The bug was reported to emacs mail list https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79592, but located as a mintty issue.