All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Enable pager by default
@ 2019-10-18 12:43 Javier Martinez Canillas
  2019-10-21 14:56 ` Daniel Kiper
  0 siblings, 1 reply; 18+ messages in thread
From: Javier Martinez Canillas @ 2019-10-18 12:43 UTC (permalink / raw)
  To: grub-devel; +Cc: Peter Jones, Javier Martinez Canillas

From: Peter Jones <pjones@redhat.com>

When user enters into the GRUB shell and tries to use help command, lot of
information is scrolled out of screen and the user doesn't have chance to
read it. Also, there isn't any information about 'set pager=1' at the end
of the help output, to tell the user how scrolling could be enabled.

So just enable pager by default which leads to a much better experience.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---

 util/grub.d/00_header.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 93a90233ead..858b526c925 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -43,6 +43,8 @@ if [ "x${GRUB_DEFAULT_BUTTON}" = "xsaved" ] ; then GRUB_DEFAULT_BUTTON='${saved_
 if [ "x${GRUB_TIMEOUT_BUTTON}" = "x" ] ; then GRUB_TIMEOUT_BUTTON="$GRUB_TIMEOUT" ; fi
 
 cat << EOF
+set pager=1
+
 if [ -s \$prefix/grubenv ]; then
   load_env
 fi
-- 
2.21.0



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

end of thread, other threads:[~2019-10-30 12:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-18 12:43 [PATCH] Enable pager by default Javier Martinez Canillas
2019-10-21 14:56 ` Daniel Kiper
2019-10-22  8:30   ` Javier Martinez Canillas
2019-10-22 14:04     ` Daniel Kiper
2019-10-23  1:50       ` Nicholas Vinson
2019-10-23  9:13         ` Daniel Kiper
2019-10-23 11:26       ` Javier Martinez Canillas
2019-10-24 14:50         ` Daniel Kiper
2019-10-24 16:24           ` Vladimir 'phcoder' Serbinenko
2019-10-25  9:02           ` Javier Martinez Canillas
2019-10-30 12:12             ` Daniel Kiper
2019-10-30 12:32               ` adrian15 adrian15
2019-10-30 12:43               ` Javier Martinez Canillas
2019-10-24  6:54       ` Michael Chang
2019-10-24 14:39         ` Daniel Kiper
2019-10-25  6:16           ` Michael Chang
2019-10-25  6:48             ` Vladimir 'phcoder' Serbinenko
2019-10-28  6:21               ` Michael Chang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.