Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/console-tools/reset.c

    r2725 r3232  
    1111/* BTW, which "standard" package has this utility? It doesn't seem
    1212 * to be ncurses, coreutils, console-tools... then what? */
     13
     14//usage:#define reset_trivial_usage
     15//usage:       ""
     16//usage:#define reset_full_usage "\n\n"
     17//usage:       "Reset the screen"
    1318
    1419#include "libbb.h"
     
    3237        /* See 'man 4 console_codes' for details:
    3338         * "ESC c"        -- Reset
    34          * "ESC ( K"      -- Select user mapping
     39         * "ESC ( B"      -- Select G0 Character Set (B = US)
    3540         * "ESC [ 0 m"    -- Reset all display attributes
    3641         * "ESC [ J"      -- Erase to the end of screen
    3742         * "ESC [ ? 25 h" -- Make cursor visible
    3843         */
    39         printf(ESC"c" ESC"(K" ESC"[0m" ESC"[J" ESC"[?25h");
     44        printf(ESC"c" ESC"(B" ESC"[0m" ESC"[J" ESC"[?25h");
    4045        /* http://bugs.busybox.net/view.php?id=1414:
    4146         * people want it to reset echo etc: */
Note: See TracChangeset for help on using the changeset viewer.