From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UKAGKSbzBGRkHgAAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 20:53:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SFG2KCbzBGRNZgAAauVa8A (envelope-from ) for ; Sun, 05 Mar 2023 20:53:10 +0100 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 6690738EB2 for ; Sun, 5 Mar 2023 20:53:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYuPT-0007QN-RY; Sun, 05 Mar 2023 14:52:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYuPR-0007Py-KQ for help-guix@gnu.org; Sun, 05 Mar 2023 14:52:41 -0500 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYuPQ-00062D-06 for help-guix@gnu.org; Sun, 05 Mar 2023 14:52:41 -0500 Received: by mail-vs1-xe34.google.com with SMTP id m10so7269792vso.4 for ; Sun, 05 Mar 2023 11:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678045959; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=v6W4CxAmPpOSSIJ8a4Lqw3sQOYK7ndvmn8xK0d7/FIc=; b=BzYUXyIKAr8vYzkn6ELCQbeu4rgG3tZ/pj7EcqKNfbN+FVZpSnFp82npgeArPlWqTq dB9U37ciiF0ee+HZfp+owYXqEBi8+YzU8GKWey2AlTLreWa9C8KiCo2LDDOmqfgSGm7L X6ccJVV76h+EorWDub7TGjd0TkiAktFLZY/rzPxtSdAruSn1HfcpE3FtxWrVAc6et4cX 9boC8f0Am+DRYIZpGmWef1arNrfuz4FbI6V7RawYjZ8vCgprQ0NTTvdbDb16h2K7PF1X GhqjaJdFEMyrdXWzpkwCMfCduno5MzvQ0FgQy2Hhm/0TBxXSDGI30c97hxvSJ31ycN9+ 5XXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678045959; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v6W4CxAmPpOSSIJ8a4Lqw3sQOYK7ndvmn8xK0d7/FIc=; b=FthwIoQKaO+QPe74xbMmsVS2qMywA7Zo4wrVfdMBpplv8Z51HiffSgV1qWMrIjfZQA sN9PtGMx7LrC0+dfRl5O23yoCoZTOPkejwBZTw56zo+dn+t8nBtG4RB6Jt7DqNQ+nhJm jqriujwjIrvLyHzwisetH0rXs2+X7ZD3mFiOFlJChwRICeG7c19kKg21Ls44S9EvzVYi XhbKpGKMIejbYrEgQo5BfjavN/EK0dC8vZTimKISuBUdvWLkScNk8UFaO6vkA0rWjEAU CKulvjV2oNHWdFh6f5ydo4MlbAiu7xlXsrMsBsAi3rTEn/ALwX+U1Cqhwsc0cqSbTSY0 OqKw== X-Gm-Message-State: AO0yUKV++RMhDH0v0zgLm3EWZgzU+Tlei2VGOyKiZDSVtw2JUzBlI6pI TpHTvm64PtEMquPB1gPrHEXwFupTWDxKCaPB7I+ewsXIOQ201A== X-Google-Smtp-Source: AK7set+96LNf2wIjhIVSUQmPeF2Fnd/dVNMP6clEaMlBgLKGEUQCZFx0+r22lNDAXAmX4yd2f5wPWvdGD27Kb+vNbds= X-Received: by 2002:a05:6102:302f:b0:414:4ef2:b607 with SMTP id v15-20020a056102302f00b004144ef2b607mr5872137vsa.6.1678045958929; Sun, 05 Mar 2023 11:52:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Rodrigo Morales Date: Sun, 5 Mar 2023 14:50:29 -0500 Message-ID: Subject: Re: Newbie question: How to disable pager in "guix search"? To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::e34; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vs1-xe34.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678045990; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QnkC9N4O95p0//M1QfMgTkj0FhUSBhH32baV0uFCJ+g=; b=QirqYphj5tPHXQe2g3rmQ0viOV84ycPEZnEUU2jeQXmeDUa7FM+6jH5YKp+IVI5fQKducr RymOnqvuFa+mJ/rX9QdEypvDKvB7QKX+aCw52lHW6f/14aIdH3Vebpb4086zXXIiuDiayB pKmmTlJOY/cemhgzSmOMRVJjdMKOg5TOa+p+ulSrmpqdJ+hJ6mZhykUGggzmEo0EtUJpTL oilvORCkGV0DnwANZiCJySq+zHwh6RYxhBpMhAqlLr2ub1VdgBnTL/zhLeL6HbUJ4CLN1d ZiK2j5knV0VdJr9xY4CBGdh3InAMXcFAAdHn7x0P9CrTFFr80s82kq0rrIY3pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=BzYUXyIK; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678045990; a=rsa-sha256; cv=none; b=n0+s+OqaYmA9+HrqC1fz/LRHnJJJgK1YgGEtg7JghNyJZZ2H5m94pPArL9iLFFbCotNXsa CfK42r1s69I5La097/l/cxwBYqLjbTyFhTQXtg40Z5A8NPXJKyLLvF2hIQ+/6ysm4Z0nOt IxeE4mlqtF2oRGBlQrjcc616fCIuPlcsv1F/uPbwbftkAJqfwLXWi7HqanDQ/3qm+bR9/2 CeLx93Becuhm9oi9NDVYz3splIXbXyzSdMCLfp1sx2gT2ex/+hqdABqbsehmknGiNQLXvM YFlpcihxYq1pt2dZA+nTZ64VMxcGEAgZ2+eV47vX6OugQoTrnkiwXX5+NKXNTA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.91 X-Spam-Score: -0.91 X-Migadu-Queue-Id: 6690738EB2 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=BzYUXyIK; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: Kw+mhKAM8m0V I asked the same question in and someone recommended me setting PAGER to an empty value I did by executing the following command ,---- | export PAGER=3D `---- 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=E2=80=AFPM Rodrigo Morales wrote: > Table of Contents > _________________ > > 1. The problem > 2. The question > > 1 The problem > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > How could I disable the pager in "guix search" and make it display the > output in raw text? >