From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: help-guix@gnu.org
Subject: Re: Newbie question: How to disable pager in "guix search"?
Date: Sun, 5 Mar 2023 14:50:29 -0500 [thread overview]
Message-ID: <CAGxMbPbeqy8a3JU9KPFXBBj4a-ZJqBwBAHeCfp_rR67Nx5g+Rg@mail.gmail.com> (raw)
In-Reply-To: <CAGxMbPb5VQzu6uPBnvKXjim9JzXQSOWdE8B-Xrhk3MYJdNA0kQ@mail.gmail.com>
I asked the same question in <irc://irc.libera.chat/#guix> and someone
recommended me setting PAGER to an empty value I did by executing the
following command
,----
| export PAGER=
`----
This solved the issue. Someone also recommended me setting the `PAGER'
environmental variable in my Emacs configuration and shared his personal
configuration which contained the following statements
,----
| (setenv "EDITOR" "emacsclient")
| (setenv "GIT_EDITOR" "emacsclient")
| (setenv "MANPATH" (getenv "MANPATH"))
| (setenv "PAGER" "cat")
| (setenv "PATH" (getenv "PATH"))
| (setenv "PROMPT_COMMAND" "")
| (setenv "SHELL" (getenv "SHELL"))
| (setenv "TERM" (getenv "TERM"))
`----
On Sun, Mar 5, 2023 at 2:36 PM Rodrigo Morales <moralesrodrigo1100@gmail.com>
wrote:
> Table of Contents
> _________________
>
> 1. The problem
> 2. The question
>
> 1 The problem
> =============
>
> Most of the times, I use shell-mode in Emacs and execute "guix"
> commands. When I execute "guix search", the following warning is shown
>
> ,----
> | guix search emacs
> `----
>
> ,----
> | WARNING: terminal is not functional
> | Press RETURN to continue
> `----
>
> I think the reason why this happens is that the command tries to use a
> pager which is not possible in shell-mode.
>
> I need to press C-c C-c to exit the command which is time-consuming
> and doesn't allow me to normally search a buffer as I would normally
> do it in Emacs.
>
> I'd rather guix did not use a pager and instead show all the results
> in raw text since that way I can scroll up and search within Emacs.
>
>
> 2 The question
> ==============
>
> How could I disable the pager in "guix search" and make it display the
> output in raw text?
>
next prev parent reply other threads:[~2023-03-05 19:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-05 19:36 Newbie question: How to disable pager in "guix search"? Rodrigo Morales
2023-03-05 19:50 ` Rodrigo Morales [this message]
2023-03-05 19:58 ` Felix Lechner via
2023-03-05 22:21 ` Wojtek Kosior via
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGxMbPbeqy8a3JU9KPFXBBj4a-ZJqBwBAHeCfp_rR67Nx5g+Rg@mail.gmail.com \
--to=moralesrodrigo1100@gmail.com \
--cc=help-guix@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.
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).