[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
        (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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]