Show
Ignore:
Timestamp:
11/01/09 05:32:26 (3 years ago)
Author:
Pierre-Alexandre Meyer <pierre@…>
Children:
6e20c10dbc1b6740f94a01f74d6eeda8bb3a7ca4
Parents:
111fe227a44f170e91f2d6f57dd6ce285b67a56a
git-committer:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-10-31T22:32:26Z-0700
Message:

hdt: change remaining printf to more_printf (CLI)

A lot of places still had printf() instead of more_printf().
This patch does a bulk update and add missing reset_more_printf(),
used to reset the pager counter between each command call.

This also changes the more_printf() routine to delete the "--More--"
line while scrolling.

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/hdt/hdt-cli-memory.c

    r5de3f4 r78f771  
    4242 
    4343        detect_memory_e820(map, E820MAX, &count); 
    44         printf("BIOS-provided physical RAM e820 map:\n"); 
    4544        reset_more_printf(); 
     45        more_printf("BIOS-provided physical RAM e820 map:\n"); 
    4646        for (int i = 0; i < count; i++) { 
    4747                get_type(map[i].type, type, 14);