[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub ./ChangeLog ./NEWS stage2/builtins.c stage...
From: |
Yoshinori K. Okuji |
Subject: |
grub ./ChangeLog ./NEWS stage2/builtins.c stage... |
Date: |
Thu, 07 Feb 2002 20:14:01 -0500 |
CVSROOT: /cvsroot/grub
Module name: grub
Changes by: Yoshinori K. Okuji <address@hidden> 02/02/07 20:14:01
Modified files:
. : ChangeLog NEWS
stage2 : builtins.c char_io.c cmdline.c shared.h
Log message:
2002-02-08 Yoshinori K. Okuji <address@hidden>
An internal pager is implemented.
* stage2/builtins.c (pager_func): New function.
(builtin_pager): New variable.
(terminal_func): New option, "--lines=LINES" is added. If this
option is specified, set MAX_LINES to the value. Otherwise, set
MAX_LINES to 24.
(vbeprobe_func): Remove the pager code specific to this
function.
(builtin_table): Added a pointer to BUILTIN_PAGER.
* stage2/char_io.c (max_lines) [!STAGE1_5]: New variable.
(count_lines) [!STAGE1_5]: Likewise.
(use_pager) [!STAGE1_5]: Likewise.
(grub_putchar) [!STAGE1_5]: if C is a newline and COUNT_LINES is
not -1, count up the number of lines. If it exceeds the maximum
number of lines minus 2, show a message and wait for input of
return key. "minus 2" is to reserve space for the message
printed by this internal pager.
* stage2/cmdline.c (enter_cmdline): If USE_PAGER is true, set
COUNT_LINES to zero, before running a command, and reset
COUNT_LINES to -1 after that.
* stage2/shared.h (max_lines) [!STAGE1_5]: Declared.
(count_lines) [!STAGE1_5]: Likewise.
(use_pager) [!STAGE1_5]: Likewise.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/ChangeLog.diff?tr1=1.473&tr2=1.474&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/NEWS.diff?tr1=1.120&tr2=1.121&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/builtins.c.diff?tr1=1.125&tr2=1.126&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/char_io.c.diff?tr1=1.44&tr2=1.45&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/cmdline.c.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/shared.h.diff?tr1=1.83&tr2=1.84&r1=text&r2=text