From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#38940: \x1b]8; ; OSC character displayed on hyperlinks shown after calls to `guix describe` or `guix show` on mate-terminal 1.12.1 (Trisquel 8) Date: Tue, 7 Jan 2020 12:58:09 +0100 Message-ID: References: <1578206891.2605.33.camel@gmail.com> <1578342380.2215.13.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48286) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ionVp-0004DX-CU for bug-guix@gnu.org; Tue, 07 Jan 2020 06:59:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ionVn-0002De-9L for bug-guix@gnu.org; Tue, 07 Jan 2020 06:59:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ionVn-0002DT-4O for bug-guix@gnu.org; Tue, 07 Jan 2020 06:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ionVm-0000LE-3t for bug-guix@gnu.org; Tue, 07 Jan 2020 06:59:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1578342380.2215.13.camel@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Calvin Heim Cc: 38940@debbugs.gnu.org Hi Calvin, On Mon, 6 Jan 2020 at 21:26, Calvin Heim wrote: > > On Sun, 5 Jan 2020 at 07:49, Calvin Heim wrote: > > > When using mate-terminal version 1.12.1 (the default graphical terminal provided in Trisquel 8), Guix commands > > > that print hyperlinks to the terminal (such as `guix describe` and `guix show`) > > > print a mangled \x1b]8;; OSC character. I haven't tested the mate-terminal > > > package provided by Guix though, so this bug may only be visible to Trisquel users > > > of the Guix package manager relying on their host distribution's default terminal soon > > > after installing Guix. > > I have tested with "guix environment --ad-hoc mater-terminal" on > > foreign distro (Debian) and I do not see an issue. > > > > So it probably comes from the Trisquel default configuration. > > > I concur. So, it is not a bug. ;-) > > > On a related note, the procedure supports-hyperlinks in module (guix ui) checks the > > > environment variable INSIDE_EMACS to prevent hyperlink mangling when using Emacs. > > > Perhaps this procedure could be edited to solve this bug. > > Does "INSIDE_EMACS=1 guix describe" fix the issue? > Yes. Put in your configuration "export INSIDE_EMACS=1". :-) Does the environment variable NO_OSC appears to you more meaningful than INSIDE_EMACS? Where do you think this should be documented? Which part of the manual? All the best, simon