From unknown Sat Aug 09 13:01:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53234 <53234@debbugs.gnu.org> To: bug#53234 <53234@debbugs.gnu.org> Subject: Status: terminal URL capability not correctly detected (gnome-terminal 3.22.2). Reply-To: bug#53234 <53234@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:01:48 +0000 retitle 53234 terminal URL capability not correctly detected (gnome-termina= l 3.22.2). reassign 53234 guix submitter 53234 Maxim Cournoyer severity 53234 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 13:49:39 2022 Received: (at submit) by debbugs.gnu.org; 13 Jan 2022 18:49:39 +0000 Received: from localhost ([127.0.0.1]:34573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n85AJ-0004v2-4j for submit@debbugs.gnu.org; Thu, 13 Jan 2022 13:49:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:56392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n85AH-0004us-KX for submit@debbugs.gnu.org; Thu, 13 Jan 2022 13:49:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n85AG-0007l5-5v for bug-guix@gnu.org; Thu, 13 Jan 2022 13:49:37 -0500 Received: from [2607:f8b0:4864:20::d29] (port=45931 helo=mail-io1-xd29.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n85AC-0007KI-06 for bug-guix@gnu.org; Thu, 13 Jan 2022 13:49:33 -0500 Received: by mail-io1-xd29.google.com with SMTP id s11so1585639ioe.12 for ; Thu, 13 Jan 2022 10:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=kHGaXWGQkG+zwKtcdEQwHfkuO6HOc//sxPrwG4CVJNI=; b=QKh4THP8lq+90rGZKXG3IMhe4qWFAzOh9elq7noFeqzi3Bb9wiEWUpWGAZLDaBOhEv EoeZ0aRsgS7VKgFEfihtvNQWOtiaQ5/fWs9yXWj2/cK8spze+JZrHG7y8fppaT8DlUjr Gc32BXcCMfbAv8oSG9PMChLmUEWoVWXWdI0FrWGkRQxIeLbrrwewvCIu16mop0rpPWIA YNlyjS/EFeUyApMN49XZ7O7+3advWg43cdC8ZiN9GLXwxtVfsAWhLlERC8Ji57fc581N GcYQWfS8zb+eI0301wgfK2sPESL4VdQ2NQywOma7tHsNV0QUm783L8qXOkpg/JiyeGDL 54HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=kHGaXWGQkG+zwKtcdEQwHfkuO6HOc//sxPrwG4CVJNI=; b=owr2bMx37skeiDiLvDt1YaY7ngCrlOIEWn2hrI62qwy0TbErGKX3X11GTHy8D3bczH YqHGPxywaMTuJInI4R7Tb9gascCQW0nPOVaier6aeBGXrUZRpiDlzjjDGirWNZkEabOg 77sXPi5KqHi9+6nh35VDjXeIytN50nO2ihl/7KoURl16NwKV+jb8pbXqFh5L9x1ss4s9 d7AdLeixXhIQwN1Uw34RVxkw0EsFMGCtfJ00Uhsbz/mD8/H+8uTWCLX2Nqvd0yOYsMYd t4dRFeSgA2Bu9cgmvAaE7MqV/ycuEINH7kM/yJVtcjon8Lmy02f5sXH+Wfd2qETMfMrs 4haQ== X-Gm-Message-State: AOAM5329ruuXPXsK2rVAkgkJCrsyVSbbenRqkqcS48V/VxodXZxYza/p 82mu7whl+xmq8G7UEqi28SNLhH3rKaO/Ew== X-Google-Smtp-Source: ABdhPJwWI12tpuH3CmziaLy7BNviJnYZIeLTZpB6dDfFA3bLBFtTsporxnNbHhR1iCiZ59kxmhOP3A== X-Received: by 2002:a02:3218:: with SMTP id j24mr2600359jaa.106.1642099770706; Thu, 13 Jan 2022 10:49:30 -0800 (PST) Received: from hurd (dsl-152-155.b2b2c.ca. [66.158.152.155]) by smtp.gmail.com with ESMTPSA id c1sm2811175ild.47.2022.01.13.10.49.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 10:49:30 -0800 (PST) From: Maxim Cournoyer To: bug-guix Subject: terminal URL capability not correctly detected (gnome-terminal 3.22.2). Date: Thu, 13 Jan 2022 13:49:29 -0500 Message-ID: <87ilunzd1i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d29 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d29; envelope-from=maxim.cournoyer@gmail.com; helo=mail-io1-xd29.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, I discovered that on a Debian 9 (stretch) box equipped with gnome-terminal 3.22.2, Guix would use terminal ANSI codes to represent hyperlinks in its output, which were not supported by GNOME terminal [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.3 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, I discovered that on a Debian 9 (stretch) box equipped with gnome-terminal 3.22.2, Guix would use terminal ANSI codes to represent hyperlinks in its output, which were not supported by GNOME terminal 3.22.2 which uses VTE 0.46.1 (it picked up support in 3.26 IIRC). Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 16:35:43 2022 Received: (at 53234) by debbugs.gnu.org; 14 Jan 2022 21:35:43 +0000 Received: from localhost ([127.0.0.1]:38447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8UEZ-0006Hh-4n for submit@debbugs.gnu.org; Fri, 14 Jan 2022 16:35:43 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8UEW-0006HU-BW for 53234@debbugs.gnu.org; Fri, 14 Jan 2022 16:35:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9A6D2488; Fri, 14 Jan 2022 22:35:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GYmBmW0RKGIp; Fri, 14 Jan 2022 22:35:32 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B92F1120; Fri, 14 Jan 2022 22:35:31 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#53234: terminal URL capability not correctly detected (gnome-terminal 3.22.2). References: <87ilunzd1i.fsf@gmail.com> Date: Fri, 14 Jan 2022 22:35:30 +0100 In-Reply-To: <87ilunzd1i.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 13 Jan 2022 13:49:29 -0500") Message-ID: <87pmou2e71.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 9A6D2488 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53234 Cc: 53234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Maxim Cournoyer skribis: > I discovered that on a Debian 9 (stretch) box equipped with > gnome-terminal 3.22.2, Guix would use terminal ANSI codes to represent > hyperlinks in its output, which were not supported by GNOME terminal > 3.22.2 which uses VTE 0.46.1 (it picked up support in 3.26 IIRC). I=E2=80=99m afraid there=E2=80=99s not much we can do: terminal emulators a= re supposed to ignore ANSI sequences they don=E2=80=99t understand. My recollection is that there was a bug in libvte back then: https://issues.guix.gnu.org/38940#6-lineno18 That bug mentions a much older VTE though, so I wonder if it=E2=80=99s a ne= wer regression? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 14 23:54:46 2022 Received: (at 53234-done) by debbugs.gnu.org; 15 Jan 2022 04:54:46 +0000 Received: from localhost ([127.0.0.1]:38751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8b5R-000639-NN for submit@debbugs.gnu.org; Fri, 14 Jan 2022 23:54:46 -0500 Received: from mail-qv1-f52.google.com ([209.85.219.52]:44552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8b5H-00062l-SV for 53234-done@debbugs.gnu.org; Fri, 14 Jan 2022 23:54:43 -0500 Received: by mail-qv1-f52.google.com with SMTP id jr5so12057004qvb.11 for <53234-done@debbugs.gnu.org>; Fri, 14 Jan 2022 20:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=8lCzMm8q/470OTWmiw0uyUdZ27ni8CR2qUyrx2DVbDE=; b=AUm4QvKClYEOHG2+13OvJK28OLblIt36GOPVDD/2bdBczNTUOThh372L2Gnxm6OGMv IMmTdLgTGLC8s/PhUdcq2ug83owgZhB23eVy42gGZp/QU+lorx0bzgH+CBgPvTrvQmoN La/vSMjKtZ50xPIDPgxK1Sg5n5qDiMkvmoZSodIxLPistcQimNh8obYM0ogx1o1NdQnm AsgbgSoSzcxGfzH5S+irbXslGSFtFQcdaevniMPUOC5UM/VUpDBo+kFxxcmL0wSdBhlg 4gNDE/tcedJQTQJ3MIB/v9d2hZmqCB+HLFzK1xsrHa+nRHG/HGvOjaoHYX5li75IuhdJ uRtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=8lCzMm8q/470OTWmiw0uyUdZ27ni8CR2qUyrx2DVbDE=; b=OpBS6tOdypPcsM8oaVq+eWKCARM2OEoe8t9dDI9UtkR3UqE8LYf7qEz8IiN7rxc1wG pAvM7vc/eu3EUNGOB69xOa9n+0cpODVOxG/g9nteCQj/uN1MckNwOFH5g3zUkta3op/c qRJ+541dZ0q/vDlJ94DkUgHkgwGkuo4hHIjALVmI8SCsOlG+N4d/mZSUNu4RUUsJv5JI +7DXGF+x+EAUWeoAnmzlltU6KZg6lx42oIT241oFzAiFT1cVeMABbDhrRj4w2U+9wHA7 zZsxphXIUoQ2brAfZEH+jcgm6ecCaqWJk4vuEzA9Zwr5oFCXYujx/PRCjKW4z5mwfwLW ncaw== X-Gm-Message-State: AOAM533wJ1ssDU5Pvb45UHqcK8Jul+pp/ensbBnAa+NUMqMv0YrKi33A NtQfw0DT0Ok5/TU4Xd1O5yw1kyE9OXw= X-Google-Smtp-Source: ABdhPJxrd2M6wIId1z2VEWpPo9GSE0ui64N4h7yhfdoATR2J2zeE/cQERwutdML07/qAE1QNoObuFA== X-Received: by 2002:a05:6214:27c6:: with SMTP id ge6mr10786029qvb.83.1642222469988; Fri, 14 Jan 2022 20:54:29 -0800 (PST) Received: from hurd (dsl-152-155.b2b2c.ca. [66.158.152.155]) by smtp.gmail.com with ESMTPSA id bq15sm3113121qtb.54.2022.01.14.20.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 20:54:29 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#53234: terminal URL capability not correctly detected (gnome-terminal 3.22.2). References: <87ilunzd1i.fsf@gmail.com> <87pmou2e71.fsf@gnu.org> Date: Fri, 14 Jan 2022 23:54:28 -0500 In-Reply-To: <87pmou2e71.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 14 Jan 2022 22:35:30 +0100") Message-ID: <87sftpa9a3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53234-done Cc: 53234-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I discovered that on a Debian 9 (stretch) box equipped with >> gnome-terminal 3.22.2, Guix would use terminal ANSI codes to represent >> hyperlinks in its output, which were not supported by GNOME terminal >> 3.22.2 which uses VTE 0.46.1 (it picked up support in 3.26 IIRC). > > I=E2=80=99m afraid there=E2=80=99s not much we can do: terminal emulators= are supposed > to ignore ANSI sequences they don=E2=80=99t understand. Ah, thanks for pointing that to me. I had guessed we had to do some work to detect the terminal capability and conditionally output escapes or not, but I'm glad that's not how it works :-). > My recollection is that there was a bug in libvte back then: > > https://issues.guix.gnu.org/38940#6-lineno18 > > That bug mentions a much older VTE though, so I wonder if it=E2=80=99s a = newer > regression? According to [0]: > At this moment, terminals known to be buggy (OSC 8 resulting in > display corruption) are VTE versions up to 0.46.2 and 0.48.1, Windows > Terminal up to 0.9, Emacs's built-in terminal, and screen with 700+ > character long URLs. Which gnome-terminal shipped with Debian 9 uses. Luckily, this release will be EOL in a few months (June 2022) [1], so the problem will disappear soon. I'm closing this report, thank you for the explanations! Maxim [0] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda [1] https://www.debian.org/releases/stretch/ From unknown Sat Aug 09 13:01:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Feb 2022 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator