unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41811: `guix search` shows control sequences
@ 2020-06-11 17:18 Lars-Dominik Braun
  2020-06-13 20:54 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Lars-Dominik Braun @ 2020-06-11 17:18 UTC (permalink / raw)
  To: 41811

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-14 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 17:18 bug#41811: `guix search` shows control sequences Lars-Dominik Braun
2020-06-13 20:54 ` Ludovic Courtès
2020-06-14  6:09   ` Lars-Dominik Braun
2020-06-14 13:46     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).