From: adrian15 <adrian15@raulete.net>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Pager does work from a menu?
Date: Tue, 12 Jun 2007 13:57:42 +0200 [thread overview]
Message-ID: <466E8A36.7000104@raulete.net> (raw)
This code from: normal/command.c
/* Enable the pager if the environment pager is set to 1. */
if (interactive)
pager = grub_env_get ("pager");
else
pager = 0;
if (pager && (! grub_strcmp (pager, "1")))
grub_set_more (1);
Can anyone confirm my suspictions that even the pager variable set to 1
there is NO stop on the screen when running a grub option that has the
cat command inside it with a big file?
I am suspecting because in grub legacy there was the same stupid
behaviour which I fixed of course.
I also do not like the way that pager is run. I mean, putting a getkey
inside the
void
grub_putcode (grub_uint32_t code)
function from: kern/term.c
it seems to me a bit childish although I do not know so far a better
solution.
adrian15
next reply other threads:[~2007-06-12 13:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 11:57 adrian15 [this message]
2007-06-12 14:34 ` Pager does work from a menu? Robert Millan
2007-06-12 14:16 ` adrian15
2007-06-13 14:24 ` Robert Millan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466E8A36.7000104@raulete.net \
--to=adrian15@raulete.net \
--cc=grub-devel@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 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.