From e6e09deced1c6fd10e42409228f29078a71ed6a7 Mon Sep 17 00:00:00 2001 From: okuji Date: Wed, 17 Apr 2002 09:41:54 +0000 Subject: [PATCH] 2002-04-17 Yoshinori K. Okuji * stage2/builtins.c [SUPPORT_SERIAL] (terminal_func): Set COUNT_LINES to -1, to disable the pager. --- ChangeLog | 5 +++++ stage2/builtins.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 17a2c47b0..273916fef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-17 Yoshinori K. Okuji + + * stage2/builtins.c [SUPPORT_SERIAL] (terminal_func): Set + COUNT_LINES to -1, to disable the pager. + 2002-04-16 Yoshinori K. Okuji * docs/grub.texi (Obtaining and Building GRUB): Update the link diff --git a/stage2/builtins.c b/stage2/builtins.c index 8425f5738..8ac6656fd 100644 --- a/stage2/builtins.c +++ b/stage2/builtins.c @@ -4080,6 +4080,9 @@ terminal_func (char *arg, int flags) if (terminal & TERMINAL_SERIAL) { int time1, time2 = -1; + + /* XXX: Disable the pager. */ + count_lines = -1; /* Get current time. */ while ((time1 = getrtsecs ()) == 0xFF)