From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by sourceware.org (Postfix) with ESMTPS id BA707393F815 for ; Fri, 18 Jun 2021 17:42:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA707393F815 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-wr1-f46.google.com with SMTP id e22so8028894wrc.1 for ; Fri, 18 Jun 2021 10:42:28 -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=ZgbFkPKr7A3qXW1CdswAfhwQgEouKLTuuHPBKu4vZ64=; b=r64g50InSiUf/ExWhLwMdH/aJgHTfagfKURehjjTSQO+q8/jkcvm+T9YIVIxgTaDRh SG3UYAvWrzO7ybC5c70FXNq70Jkb1pIy44hY1PZYBsXzHmYu6xTNfrkS0hmKIDOAi0ut V26pM9Qpbo/eRHLwE7oJ4tOL40pzRpkE+UwGJyFC+WCbvTWfUofQ9PE/jp2bcBtzedvw 7jpO1ToqrLT+hw+bmliemE6tEVR6Qh/mKxp0linIaOPhgJLF/g1tc+zNo33Scm7aWmW5 60rd2p7ZhDYZqgEPiYlPMANBQCrp1NjGAfw+4ycjigZwfsLz7wt/3BkgFf6X+yNd8l6/ Htsg== X-Gm-Message-State: AOAM5328Eu9b9GhcvZygPrHNuwZRe5/GaR1410Hygro5o6dYTKff2VQd DFpSgPOE4HbA0cTwGAwHV8UKnRy0OK/+Qg== X-Google-Smtp-Source: ABdhPJxQeIQIegii6JRuN7RyaevtGdZ9AmbthXuJxRaIIxhOLjWG00aHlmxrEJo+KxNvlJy0d5KvMQ== X-Received: by 2002:adf:fac6:: with SMTP id a6mr14173422wrs.251.1624038147711; Fri, 18 Jun 2021 10:42:27 -0700 (PDT) Received: from ?IPv6:2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3? ([2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3]) by smtp.gmail.com with ESMTPSA id k82sm11764923wmf.11.2021.06.18.10.42.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Jun 2021 10:42:26 -0700 (PDT) Subject: Re: [PATCHv3 1/2] Initial TUI mouse support From: Pedro Alves To: Tom Tromey Cc: Simon Marchi , Hannes Domani , Hannes Domani via Gdb-patches , Joel Brobecker References: <20210603151453.15248-1-ssbssa.ref@yahoo.de> <20210603151453.15248-1-ssbssa@yahoo.de> <87r1hhoi03.fsf@tromey.com> <1760297979.5212997.1622816480782@mail.yahoo.com> <0936428e-80c4-c192-cdfd-817ff9bcfab0@palves.net> <45415d6f-45f8-c709-5a21-dd2b02e724f3@polymtl.ca> <871r99imph.fsf@tromey.com> <4ca7e884-e112-6214-d3ba-5234089e8f77@palves.net> <87tulvushh.fsf@tromey.com> Message-ID: Date: Fri, 18 Jun 2021 18:42:25 +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: <87tulvushh.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 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: Fri, 18 Jun 2021 17:42:30 -0000 On 2021-06-18 4:01 p.m., Tom Tromey wrote: >>> Is it possible to implement this? I looked a little but didn't see a >>> way to set the selection. Hopefully I'm just looking for the wrong >>> keywords... > > Pedro> Sorry, I just assumed it was possible, but I don't really know. > > By coincidence I learned that this is indeed possible. > It's called "OSC 52": > > https://www.reddit.com/r/vim/comments/k1ydpn/a_guide_on_how_to_copy_text_from_anywhere/ > > And if you search for "emacs" here, there's some information as well: > > https://invisible-island.net/xterm/ctlseqs/ctlseqs.html > That's awesome! Great find.