From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled Date: Mon, 23 Dec 2024 14:36:34 +0100 Message-ID: References: <8634iszpa5.fsf@gnu.org> <86y10ky9wf.fsf@gnu.org> <86wmg4xd2u.fsf@gnu.org> <86y10jwmsb.fsf@gnu.org> <86ldwiwvjc.fsf@gnu.org> <86ed27pfhj.fsf@gnu.org> <86a5cvpeiv.fsf@gnu.org> <86y10eo5h6.fsf@gnu.org> <986a3eea465e13c57bcdd7ce8f27f99d@finder.org> <864j2w6tz0.fsf@gnu.org> <861pxy5zxk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000077d2d10629f0164f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, fgunbin@fastmail.fm, 74833@debbugs.gnu.org, jared@finder.org, rms@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 23 14:38:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tPidZ-0005Qn-52 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Dec 2024 14:38:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPidK-0005c0-D7; Mon, 23 Dec 2024 08:38:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPidG-0005bh-8z for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 08:38:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPidG-0008SM-0K for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 08:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=T04mbrE7NeTOZS4+S/qmClsmeZ9xiT0ujL0iYmEKdmE=; b=mEsqKYtjEYZc6lphT7XKsEcQVnz4Z7IpyQSs4mAIonOlODelb59THvEVEFhRRGOKgWra5qEYiGhVh/wI0tB9SUX4DQ5nXsmkH9SdSc91gfRm8Zp6xjNjEDFCesdJ+eKxfynPLm5YVvsjz7bzhUJqnrbV9/oJ6G+oa07zieudukjbRCLH+SuQqNxCiEw22jWmd0SYsAE+WY4w6L2EPBTYrNwLdEIAPUC9g8BEZnt/FSlevyeRICjKq79xAtXE6GrPNyXSCIkqbGnJGoTJWDH3Z5kH031vSy7CBgnokKM7HMnXGj76aa8ZnyAZvWAavboqLF2cwn5rDaam2P1oVieyMQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPidF-0005rs-L5 for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 08:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74833 X-GNU-PR-Package: emacs Original-Received: via spool by 74833-submit@debbugs.gnu.org id=B74833.173496107422541 (code B ref 74833); Mon, 23 Dec 2024 13:38:01 +0000 Original-Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 13:37:54 +0000 Original-Received: from localhost ([127.0.0.1]:53756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPid8-0005rU-Gk for submit@debbugs.gnu.org; Mon, 23 Dec 2024 08:37:54 -0500 Original-Received: from mail-vs1-f42.google.com ([209.85.217.42]:55384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPid5-0005rG-OP for 74833@debbugs.gnu.org; Mon, 23 Dec 2024 08:37:52 -0500 Original-Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-4afefc876c6so1232651137.2 for <74833@debbugs.gnu.org>; Mon, 23 Dec 2024 05:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734961006; x=1735565806; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=T04mbrE7NeTOZS4+S/qmClsmeZ9xiT0ujL0iYmEKdmE=; b=IDq1LwEtni8eGq32aYGH86/nRcYK6Lxufiwg4R8OrEjjgeDWmn7juzrdElOiJfk3Ci r+Xyl27Pk9X/y5WaygS2Oih8TLQh+jdf+lx9u6Z1wAP4Bs095wMpoFAXLN6T7s0O4wnA nax76puUNll/PeQPJRHGxCWe0PJyNTHH2XR7vnJy9bnvibQx3yC9IxKHSzxL8X1JLccf UajUoErgdhI+AxfJuqFpZfw13PkIos20LIglFvEgPxRDfQgLqZX20PgKKy3bolz0dHR/ PTgytBo6+gB4AnYUl9GHcyd3ZwniLuMQEY1p/tqxjSEaY/2j4N2ao997ZhedJUORIOzY UTrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734961006; x=1735565806; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T04mbrE7NeTOZS4+S/qmClsmeZ9xiT0ujL0iYmEKdmE=; b=QH0TCDdolJo1iXHMbmA/U6OytSUPCy11G0TRA6/CppKmBjaL5rhrZdB+d6F8XwSVsC 0bYsiPbXKplHprBcNvVlX6rMhnqDXezxaWjtuhgymzZP1tOPqlR+qt0EFZp6mtHGSWM2 V755T/IidOepdJ8+ckMKBfiNnVh4C4HF+MKA+Vf+d/hADRAbeutk+UH7lXTy2BjE6x8F Watio1VQYU+O3tmRYgoQfGtja3jTvP3l/Cj6AEMTcmX9xZ9cAIQ2w8mcqRZXpkASs72b IMjfCMnRFJz6E9dLP2qMnnv+DzleGVi6BnphMrc5QSrBu4itw/4lcKonkJfOQZKXChnY EKdw== X-Forwarded-Encrypted: i=1; AJvYcCVUL2AvOwe+grzeblPQgIoR2s0KiP6/hvU8JrQLaWjyvYdCJvKdmSfBjfWPWsU2FkaYEDnvFg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyG8pFVtOxX7AciRWsu4YXdpRxycT9aGdcgzxWRcagefWwsE5Bd qWny1X7L6/9c9QqfZhFrZhgVAWmXNtgwOd+38aa32alvCktJ3qOkiHbJwIFZcwxoPR9OQenuZmn fxDWy7FGtPLlCJjkUBnp4jGJV3iw= X-Gm-Gg: ASbGnct8L+Wmt/i8bx3WTsNWpw/umZKkFiyNqT1JBDbE9O4bxdvL+B0w7sG0Xab9GC/ siP6/ELpenmsmxWTHolt5xkbM3yACjRkXliFWRw== X-Google-Smtp-Source: AGHT+IHAZWHHOADfjmO8Mt6f5ffNbXbobwUya+15Vzf8lWSqICOkZt77Cg1E7UaXmNdfWHR6jrn+sFJNUlzgZS6l1IY= X-Received: by 2002:a05:6122:659b:b0:518:7777:a61e with SMTP id 71dfb90a1353d-51b75c6f9f3mr10634768e0c.5.1734961006099; Mon, 23 Dec 2024 05:36:46 -0800 (PST) In-Reply-To: <861pxy5zxk.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297641 Archived-At: --00000000000077d2d10629f0164f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You should be able to paste using the (annoying, yes) CUA key Shift-Ins vs. right mouse button. I think the only way to know for sure you're under putty is to change your putty configuration to set/send a custom environment variable that you can test. I do not recall one that it sets/sends by default beyond TERM which is "xterm" and that's obviously insufficient. On Mon, Dec 23, 2024 at 1:47=E2=80=AFPM Eli Zaretskii wrote: > 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? > --00000000000077d2d10629f0164f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You should be able to paste using the (annoying, yes) CUA key Shift-Ins = vs. right mouse button.

I think the only way to know for sure you're under putty is = to change your putty configuration to set/send a custom environment variabl= e that you can test. I do not recall one that it sets/sends by default beyo= nd TERM which is "xterm" and that's obviously insufficient.

On Mon, Dec 23, 2024 at 1:47=E2=80=AFPM Eli Zaret= skii <eliz@gnu.org> wrote:
I found one more case = where turning on xterm-mouse-mode by default
causes problems: PuTTY.=C2=A0 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?
--00000000000077d2d10629f0164f--