From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by sourceware.org (Postfix) with ESMTPS id C3D30399C8BA for ; Thu, 17 Jun 2021 21:05:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C3D30399C8BA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f42.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso5504122wmc.1 for ; Thu, 17 Jun 2021 14:05:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xymYizj4gomQWji9Wj36wlDPTl9ky7Y0e2nnIV2/BFI=; b=MZBzgKERuQ6KW2DOgHES4MCakNLiYieGyzm7FgsMr0bNoIZdK9qt04VDq/FhIjlUoK PUF0RmepAPU/HfSfrYC0lmbz6i5gGFiwO30VwMJIs7qbopNfibAcKn4archgxIg0Bnpw flZhAD0jjcvp1uhrJtBWYyWRzV2cpccWfW7pof5I0uoZJ+dnOmMuiWH72ADhdWlOyxQR Gp762k7+V2cuoz2eYY1482a+O+450rdhFm400d0slM8HlobkLRYf9Gf/QKQM4hTBOjnj YvvCW8PHSyM6xiCdqXYy330JYjpZJUaok/C9ApnFVMjIxdvD55VFuecJrsoIFGXk9rn/ 1yqA== X-Gm-Message-State: AOAM5312a5KM2gRuPHIr53q8hEky8LzSkbUe9+edprkunbEIRrsnoKK1 VyTUMu72UkZaXnxtRC67oKu8wZZkGasmYvg9 X-Google-Smtp-Source: ABdhPJwYdqJbOeEYfOFL6MxFcD92j8Vo88cf4HMSSgR1R6WGx8q0cfsQ3sDoe60v490a82NtAwSKiw== X-Received: by 2002:a1c:c388:: with SMTP id t130mr7340431wmf.57.1623963931847; Thu, 17 Jun 2021 14:05:31 -0700 (PDT) Received: from ?IPv6:2001:8a0:f932:6a00:46bc:d03b:7b3a:2227? ([2001:8a0:f932:6a00:46bc:d03b:7b3a:2227]) by smtp.gmail.com with ESMTPSA id b10sm6627423wrx.57.2021.06.17.14.05.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Jun 2021 14:05:30 -0700 (PDT) Subject: Re: [PATCH] Document TUI mouse support in the manual & NEWS From: Pedro Alves To: Eli Zaretskii Cc: gdb-patches@sourceware.org References: <20210617122300.3471654-1-pedro@palves.net> <83sg1gzl38.fsf@gnu.org> <0bbdcd46-f4fd-0fd7-3957-492751e0ac9e@palves.net> Message-ID: Date: Thu, 17 Jun 2021 22:05:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <0bbdcd46-f4fd-0fd7-3957-492751e0ac9e@palves.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2021 21:05:35 -0000 On 2021-06-17 9:50 p.m., Pedro Alves wrote: > > > I did notice that emacs in text mode lets you select text with the > mouse without doing anything special. How does that work? How does > selecting text in emacs make the text end up in the terminals selection > buffer? I'd like it if we could do that same, but I have no idea whether > it's possible with curses. Oh, it doesn't really. I did not have the mouse mode active at all. If I enable xterm-mouse-mode, then in order to access the terminal's mouse select/paste functionality (*), I have to press&hold the shift key, same as the TUI. * - click & drag to select, middle click to paste.