Annotation of researchv10no/ncurses/screen/_reset.c, revision 1.1

1.1     ! root        1: /*     @(#) _reset.c: 1.1 10/15/83     (1.21   2/11/83)        */
        !             2: 
        !             3: #include "curses.ext"
        !             4: 
        !             5: extern int     _outch();
        !             6: 
        !             7: _reset ()
        !             8: {
        !             9: #ifdef DEBUG
        !            10:        if(outf) fprintf(outf, "_reset().\n");
        !            11: #endif
        !            12:        tputs(enter_ca_mode, 0, _outch);
        !            13:        tputs(cursor_visible, 0, _outch);
        !            14:        tputs(exit_attribute_mode, 0, _outch);
        !            15:        tputs(clear_screen, 0, _outch);
        !            16:        SP->phys_x = 0;
        !            17:        SP->phys_y = 0;
        !            18:        SP->phys_irm = 1;
        !            19:        SP->virt_irm = 0;
        !            20:        SP->phys_top_mgn = 4;
        !            21:        SP->phys_bot_mgn = 4;
        !            22:        SP->des_top_mgn = 0;
        !            23:        SP->des_bot_mgn = lines-1;
        !            24:        SP->ml_above = 0;
        !            25:        _setwind();
        !            26: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.