From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KFZ8Hs9T4mEHYwAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 05:55:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yMNDF89T4mGjPgEAG6o9tA (envelope-from ) for ; Sat, 15 Jan 2022 05:55:43 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 61C8910E73 for ; Sat, 15 Jan 2022 05:55:42 +0100 (CET) Received: from localhost ([::1]:48890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8b6L-0002GL-I4 for larch@yhetil.org; Fri, 14 Jan 2022 23:55:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8b5k-0002Fn-KH for bug-guix@gnu.org; Fri, 14 Jan 2022 23:55:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8b5i-0001ka-O5 for bug-guix@gnu.org; Fri, 14 Jan 2022 23:55:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8b5i-00063n-MA for bug-guix@gnu.org; Fri, 14 Jan 2022 23:55:02 -0500 Subject: bug#53234: terminal URL capability not correctly detected (gnome-terminal 3.22.2). Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 15 Jan 2022 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53234 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Mail-Followup-To: 53234@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 53234-done@debbugs.gnu.org id=D53234.164222248623264 (code D ref 53234); Sat, 15 Jan 2022 04:55:02 +0000 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 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?="'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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53234-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642222542; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8lCzMm8q/470OTWmiw0uyUdZ27ni8CR2qUyrx2DVbDE=; b=FUNDP/nHRXsCBqCr5usJJ2qCTwhltHeARKV1+3BHW+V4pDK+jtWoSbfWmkjQcJRaCkmxou U6QyCAbLsOTvCVWW+1VyXu6+JsUnn6Lwl3o+z7YJJZwZSlg/pZ8tNvoR6HhtLnY1d6+2YT 7aEsQMH0jIjpavkfWqxPJo3aVAUK5EOaFvO21sfJfklGL3dvZOsGA63K1qevQNqjmTNb1d b8KTsNXtvUqTU2cDZKqjTHa1Zsf+YVMVGiH3A12mnpf1F5cK1L1jdb+K26hLJUiTw3RgPV 7AxmNTUHvG382AI2dEdaVVu109SDnxZbTkU+2I3txEH38Uzf9wSEvp80HW7eBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642222542; a=rsa-sha256; cv=none; b=lg4bpn4OFsrZHKDeSQzxXY5dFmgVl+0GU5cK/oZloJbCEmhqAPGtLyJtVIRS2XfZbv/sW3 XnZj2WTakzHHZKKJK70mNsjzbSbKuJTfS4EqHN++tNXXEj8IAQ9EVkPWwLQFvk1rjOUT5j XcIYj97gG7u9ExogiQ9qjl8txnxmxDC2ItOJOXYvPW2upzVEJ851o0hEbJ3hB/ZYRz9oOZ I6g+g2N7jqTrlkASm96ssiBa/UkiCG8j7TFHFSkaPYJAo6bl8y6BOyppzyS/egS/XiCXLz p3yPF4/thiuhHumfs04EOQTbkIxUqVFW0uaoMdHoP8y7atMxK8ZlXOELq0GbbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AUm4QvKC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AUm4QvKC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 61C8910E73 X-Spam-Score: -2.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: sQTzgGSSPyys 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/