From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 53234-done@debbugs.gnu.org
Subject: bug#53234: terminal URL capability not correctly detected (gnome-terminal 3.22.2).
Date: Fri, 14 Jan 2022 23:54:28 -0500 [thread overview]
Message-ID: <87sftpa9a3.fsf@gmail.com> (raw)
In-Reply-To: <87pmou2e71.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 14 Jan 2022 22:35:30 +0100")
Hello!
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> 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’m afraid there’s not much we can do: terminal emulators are supposed
> to ignore ANSI sequences they don’t 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’s 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/
prev parent reply other threads:[~2022-01-15 4:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 18:49 bug#53234: terminal URL capability not correctly detected (gnome-terminal 3.22.2) Maxim Cournoyer
2022-01-14 21:35 ` Ludovic Courtès
2022-01-15 4:54 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sftpa9a3.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=53234-done@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.