From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KOyeKfBn4l51RwAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 17:20:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0dBIJfBn4l7iPAAAB5/wlQ (envelope-from ) for ; Thu, 11 Jun 2020 17:20:48 +0000 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 CC98D940669 for ; Thu, 11 Jun 2020 17:20:47 +0000 (UTC) Received: from localhost ([::1]:54586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQsf-0008DN-9l for larch@yhetil.org; Thu, 11 Jun 2020 13:20:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQr0-0006yh-VZ for bug-guix@gnu.org; Thu, 11 Jun 2020 13:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjQr0-00028O-MM for bug-guix@gnu.org; Thu, 11 Jun 2020 13:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjQr0-0002VU-HM for bug-guix@gnu.org; Thu, 11 Jun 2020 13:19:02 -0400 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 X-Spam-Score: -2.6 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=6xq.net header.s=MBO0001 header.b=hUUya+GS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: NyQu0A2IDwo5 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