I found one more case where turning on xterm-mouse-mode by default
causes problems: PuTTY. It loses the ability to paste from the
Windows clipboard by a right mouse click when xterm-mouse-mode is
turned on.
Can we identify PuTTY in some way, so that xterm-mouse-mode could not
be turned on in that case?