From unknown Sat Aug 16 16:23:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41811: `guix search` shows control sequences Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Jun 2020 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41811 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41811@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15918959379623 (code B ref -1); Thu, 11 Jun 2020 17:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jun 2020 17:18:57 +0000 Received: from localhost ([127.0.0.1]:37931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQqv-0002V9-9l for submit@debbugs.gnu.org; Thu, 11 Jun 2020 13:18:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:54104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQqs-0002V0-Hr for submit@debbugs.gnu.org; Thu, 11 Jun 2020 13:18:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQqr-0006o9-Be for bug-guix@gnu.org; Thu, 11 Jun 2020 13:18:53 -0400 Received: from mout-y-209.mailbox.org ([2001:67c:2050:1::465:209]:21822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jjQqn-00026Y-Ui for bug-guix@gnu.org; Thu, 11 Jun 2020 13:18:52 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 49jVv73BlLzQlHt for ; Thu, 11 Jun 2020 19:18:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1591895921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qglb3xdC8HI1BOHvudhCAZuQdlRuFCRVpxiQrWfScEU=; b=hUUya+GSz4pm7REtvl/Bn/x8/GJq2UGj67Gnfy5s7zOqGx8rApPj2BPAgqcnRcvh+mvFh4 xW6CyuVoFPJxO95PpCuiuRbvcGYEbNXY7eZozfleDVGekEw7v0vS1U2rKtoyjEFJLI77Wo HhL5UFzeFt+CIJIPT3uDydhRSlNUGySZPTN21bApZHPqbXLbCD9ZtAdNxEtDX2wXrjetP1 pyomyY/V+zpXf3Y5pCjFCjLbXTvGAXSx+7MJCB7ZgtIyDu818v0soPmCNcCcYnZbSszamJ MMExyv5uZugUM1YigFk0mPpAJ0GAuv/vRTgpY2FXx5irgh5PQwFnQr400AB/lA== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id siYw5xmOJbhv for ; Thu, 11 Jun 2020 19:18:39 +0200 (CEST) Date: Thu, 11 Jun 2020 19:18:38 +0200 From: Lars-Dominik Braun Message-ID: <20200611171838.GA341429@noor.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3B1D31753 X-Rspamd-Score: -7.28 / 15.00 / 15.00 Received-SPF: pass client-ip=2001:67c:2050:1::465:209; envelope-from=lars@6xq.net; helo=mout-y-209.mailbox.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) Hi, when using `guix search python2-xcffib` on a foreign distribution (Gentoo) not all control sequences are stripped by the pager (see location and license): ---snip--- name: python2-xcffib version: 0.6.0 outputs: out systems: x86_64-linux i686-linux dependencies: libxcb@1.14 python2-cffi@1.13.2 python2-six@1.14.0 location: 8;;file://xxx/gnu/store/1ccswh99papcvkj028s9myy8kq26y26g-guix-module-union/share/guile/site/3.0/gnu/packages/python-xyz.scmgnu/packages/python-xyz.scm:5437:28;; homepage: https://github.com/tych0/xcffib license: 8;;http://directory.fsf.org/wiki/License:ExpatExpat8;; synopsis: XCB Python bindings description: Xcffib is a replacement for xpyb, an XCB Python bindings. It adds support for Python 3 and PyPy. It is based on cffi. relevance: 20 --- `guix search python2-xcffib | less` works fine, `unset`ting the environment variable $LESS or setting it to 'FrX' (i.e. what guix does when it’s missing) fixes the issue too, so I’m a little puzzled. Some more information: ---snip--- $ env | grep -i less LESS=-R -M --shift 5 LESSOPEN=|lesspipe %s PAGER=/usr/bin/less $ less --version less 551 (PCRE2 regular expressions) […] $ LANG=C guix describe Generation 15 Jun 11 2020 17:47:13 (current) guix cbd9581 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: cbd9581acc41cd49eb81c2432452cad4de805cbd ---snap--- Cheers, Lars From unknown Sat Aug 16 16:23:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41811: `guix search` shows control sequences Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Jun 2020 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41811 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars-Dominik Braun Cc: 41811@debbugs.gnu.org Received: via spool by 41811-submit@debbugs.gnu.org id=B41811.159208165913898 (code B ref 41811); Sat, 13 Jun 2020 20:55:01 +0000 Received: (at 41811) by debbugs.gnu.org; 13 Jun 2020 20:54:19 +0000 Received: from localhost ([127.0.0.1]:42576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkDAR-0003c5-1U for submit@debbugs.gnu.org; Sat, 13 Jun 2020 16:54:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkDAQ-0003bu-1r for 41811@debbugs.gnu.org; Sat, 13 Jun 2020 16:54:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34996) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkDAJ-0002gj-ED; Sat, 13 Jun 2020 16:54:11 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45794 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jkDAI-0000fh-RQ; Sat, 13 Jun 2020 16:54:11 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200611171838.GA341429@noor.fritz.box> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Prairial an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 13 Jun 2020 22:54:08 +0200 In-Reply-To: <20200611171838.GA341429@noor.fritz.box> (Lars-Dominik Braun's message of "Thu, 11 Jun 2020 19:18:38 +0200") Message-ID: <87d062wutr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Lars-Dominik Braun skribis: > $ env | grep -i less > LESS=3D-R -M --shift 5 > LESSOPEN=3D|lesspipe %s > PAGER=3D/usr/bin/less > $ less --version > less 551 (PCRE2 regular expressions) > [=E2=80=A6] No control sequences if you do =E2=80=9Cunset LESS=E2=80=9D before hand, ri= ght? I think we=E2=80=99ll just override =E2=80=98LESS=E2=80=99 unconditionally = as shown below. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/ui.scm b/guix/ui.scm index 98b30445c8..2595e44062 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -1563,8 +1563,7 @@ zero means that PACKAGE does not match any of REGEXPS." ;; Set 'LESS' so that 'less' exits if everything fits on the screen (F), ;; lets ANSI escapes through (r), does not send the termcap ;; initialization string (X). - (let ((pager (with-environment-variables `(("LESS" - ,(or (getenv "LESS") "FrX"))) + (let ((pager (with-environment-variables `(("LESS" "FrX")) (open-pipe* OPEN_WRITE (or (getenv "GUIX_PAGER") (getenv "PAGER") "less"))))) --=-=-=-- From unknown Sat Aug 16 16:23:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41811: `guix search` shows control sequences Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Jun 2020 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41811 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 41811@debbugs.gnu.org Received: via spool by 41811-submit@debbugs.gnu.org id=B41811.159211497931952 (code B ref 41811); Sun, 14 Jun 2020 06:10:02 +0000 Received: (at 41811) by debbugs.gnu.org; 14 Jun 2020 06:09:39 +0000 Received: from localhost ([127.0.0.1]:42756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkLpr-0008JH-9B for submit@debbugs.gnu.org; Sun, 14 Jun 2020 02:09:39 -0400 Received: from mout-y-111.mailbox.org ([91.198.250.236]:53426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkLpo-0008J3-G2 for 41811@debbugs.gnu.org; Sun, 14 Jun 2020 02:09:37 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-y-111.mailbox.org (Postfix) with ESMTPS id 49l3vZ2Tjmz216s; Sun, 14 Jun 2020 08:09:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1592114968; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=fu8zbDky51PlCjv/OImqQ7QhlefIavRZEmRXpsJAAdQ=; b=irgl8lkVgODLmHI2E7xkm/x6D22yf3YD/GmYZHpI4nSAIjcReeMdHlnnJu4z4+oKfLV9XH lV1sejMURfW5u1oCofwy31ZugIsJEJevsZzGkInsru3UcjJR5tJhWi7BWzSiWtQ03ULKdt vEv+g05gAwq29lLa7PeGl3gH+cp+1tFxOCQTnLOfnkXBox/DBf18ry+oL4dOrjt2xQyoEy lFjqQyXc7FYoM6ABYVMUFC6UL85ChfiiKKda+bhgY5AiIM5LkxJe1oOH9uX1fMvctMr7nu tCVxG9KkYCaCQ8MwWM02Ji9gF7rF2J7S3OwF6I+XJbEk1zbapIdVXIIf2FA++w== Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id AENBPW9YuLVF; Sun, 14 Jun 2020 08:09:27 +0200 (CEST) Date: Sun, 14 Jun 2020 08:09:25 +0200 From: Lars-Dominik Braun Message-ID: <20200614060925.GA1358@noor.fritz.box> References: <20200611171838.GA341429@noor.fritz.box> <87d062wutr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87d062wutr.fsf@gnu.org> X-Rspamd-Queue-Id: 2F4F71754 X-Rspamd-Score: -3.60 / 15.00 / 15.00 X-Spam-Score: 0.0 (/) 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 (-) Hi, > No control sequences if you do “unset LESS” before hand, right? > I think we’ll just override ‘LESS’ unconditionally as shown below. yes, and the patch fixes the issue. Thanks, Lars From unknown Sat Aug 16 16:23:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Lars-Dominik Braun Subject: bug#41811: closed (Re: bug#41811: `guix search` shows control sequences) Message-ID: References: <87v9jtvjxz.fsf@gnu.org> <20200611171838.GA341429@noor.fritz.box> X-Gnu-PR-Message: they-closed 41811 X-Gnu-PR-Package: guix Reply-To: 41811@debbugs.gnu.org Date: Sun, 14 Jun 2020 13:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1592142422-17668-1" This is a multi-part message in MIME format... ------------=_1592142422-17668-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41811: `guix search` shows control sequences which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41811@debbugs.gnu.org. --=20 41811: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41811 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1592142422-17668-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41811-done) by debbugs.gnu.org; 14 Jun 2020 13:47:01 +0000 Received: from localhost ([127.0.0.1]:43162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkSyT-0004al-CR for submit@debbugs.gnu.org; Sun, 14 Jun 2020 09:47:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkSyO-0004aU-T7 for 41811-done@debbugs.gnu.org; Sun, 14 Jun 2020 09:47:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45532) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkSyJ-00062x-12; Sun, 14 Jun 2020 09:46:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41896 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jkSyI-0007CS-Fn; Sun, 14 Jun 2020 09:46:50 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: bug#41811: `guix search` shows control sequences References: <20200611171838.GA341429@noor.fritz.box> <87d062wutr.fsf@gnu.org> <20200614060925.GA1358@noor.fritz.box> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 14 Jun 2020 15:46:48 +0200 In-Reply-To: <20200614060925.GA1358@noor.fritz.box> (Lars-Dominik Braun's message of "Sun, 14 Jun 2020 08:09:25 +0200") Message-ID: <87v9jtvjxz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41811-done Cc: 41811-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: -3.3 (---) Hi, Lars-Dominik Braun skribis: >> No control sequences if you do =E2=80=9Cunset LESS=E2=80=9D before hand,= right? >> I think we=E2=80=99ll just override =E2=80=98LESS=E2=80=99 unconditional= ly as shown below. > yes, and the patch fixes the issue. Pushed as e66f243e929bbd94e62e77cfa6a63dfd001ebe07. Thanks for testing! Ludo=E2=80=99. ------------=_1592142422-17668-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jun 2020 17:18:57 +0000 Received: from localhost ([127.0.0.1]:37931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQqv-0002V9-9l for submit@debbugs.gnu.org; Thu, 11 Jun 2020 13:18:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:54104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQqs-0002V0-Hr for submit@debbugs.gnu.org; Thu, 11 Jun 2020 13:18:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQqr-0006o9-Be for bug-guix@gnu.org; Thu, 11 Jun 2020 13:18:53 -0400 Received: from mout-y-209.mailbox.org ([2001:67c:2050:1::465:209]:21822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jjQqn-00026Y-Ui for bug-guix@gnu.org; Thu, 11 Jun 2020 13:18:52 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 49jVv73BlLzQlHt for ; Thu, 11 Jun 2020 19:18:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1591895921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qglb3xdC8HI1BOHvudhCAZuQdlRuFCRVpxiQrWfScEU=; b=hUUya+GSz4pm7REtvl/Bn/x8/GJq2UGj67Gnfy5s7zOqGx8rApPj2BPAgqcnRcvh+mvFh4 xW6CyuVoFPJxO95PpCuiuRbvcGYEbNXY7eZozfleDVGekEw7v0vS1U2rKtoyjEFJLI77Wo HhL5UFzeFt+CIJIPT3uDydhRSlNUGySZPTN21bApZHPqbXLbCD9ZtAdNxEtDX2wXrjetP1 pyomyY/V+zpXf3Y5pCjFCjLbXTvGAXSx+7MJCB7ZgtIyDu818v0soPmCNcCcYnZbSszamJ MMExyv5uZugUM1YigFk0mPpAJ0GAuv/vRTgpY2FXx5irgh5PQwFnQr400AB/lA== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id siYw5xmOJbhv for ; Thu, 11 Jun 2020 19:18:39 +0200 (CEST) Date: Thu, 11 Jun 2020 19:18:38 +0200 From: Lars-Dominik Braun To: bug-guix@gnu.org Subject: `guix search` shows control sequences Message-ID: <20200611171838.GA341429@noor.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3B1D31753 X-Rspamd-Score: -7.28 / 15.00 / 15.00 Received-SPF: pass client-ip=2001:67c:2050:1::465:209; envelope-from=lars@6xq.net; helo=mout-y-209.mailbox.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) Hi, when using `guix search python2-xcffib` on a foreign distribution (Gentoo) not all control sequences are stripped by the pager (see location and license): ---snip--- name: python2-xcffib version: 0.6.0 outputs: out systems: x86_64-linux i686-linux dependencies: libxcb@1.14 python2-cffi@1.13.2 python2-six@1.14.0 location: 8;;file://xxx/gnu/store/1ccswh99papcvkj028s9myy8kq26y26g-guix-module-union/share/guile/site/3.0/gnu/packages/python-xyz.scmgnu/packages/python-xyz.scm:5437:28;; homepage: https://github.com/tych0/xcffib license: 8;;http://directory.fsf.org/wiki/License:ExpatExpat8;; synopsis: XCB Python bindings description: Xcffib is a replacement for xpyb, an XCB Python bindings. It adds support for Python 3 and PyPy. It is based on cffi. relevance: 20 --- `guix search python2-xcffib | less` works fine, `unset`ting the environment variable $LESS or setting it to 'FrX' (i.e. what guix does when it’s missing) fixes the issue too, so I’m a little puzzled. Some more information: ---snip--- $ env | grep -i less LESS=-R -M --shift 5 LESSOPEN=|lesspipe %s PAGER=/usr/bin/less $ less --version less 551 (PCRE2 regular expressions) […] $ LANG=C guix describe Generation 15 Jun 11 2020 17:47:13 (current) guix cbd9581 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: cbd9581acc41cd49eb81c2432452cad4de805cbd ---snap--- Cheers, Lars ------------=_1592142422-17668-1--