[BACK]Return to screen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/screen.c between version 1.5 and 1.6

version 1.5, 1997/11/12 06:28:26 version 1.6, 1998/07/20 07:14:10
Line 773 
Line 773 
          * that switch to/from an alternate screen, and we're in quit_at_eof           * that switch to/from an alternate screen, and we're in quit_at_eof
          * (eg, more(1)).           * (eg, more(1)).
          */           */
         if (!more_mode) {          if (!quit_at_eof && !more_mode) {
                 sc_init = tgetstr("ti", &sp);                  sc_init = tgetstr("ti", &sp);
                 sc_deinit = tgetstr("te", &sp);                  sc_deinit = tgetstr("te", &sp);
         }          }
Line 1001 
Line 1001 
         if (no_init)          if (no_init)
                 return;                  return;
         tputs(sc_init, sc_height, putchr);          tputs(sc_init, sc_height, putchr);
 #if 0  
         tputs(sc_s_keypad, sc_height, putchr);          tputs(sc_s_keypad, sc_height, putchr);
 #endif  
         init_done = 1;          init_done = 1;
 }  }
   
Line 1017 
Line 1015 
                 return;                  return;
         if (!init_done)          if (!init_done)
                 return;                  return;
 #if 0  
         tputs(sc_e_keypad, sc_height, putchr);          tputs(sc_e_keypad, sc_height, putchr);
 #endif  
         tputs(sc_deinit, sc_height, putchr);          tputs(sc_deinit, sc_height, putchr);
         init_done = 0;          init_done = 0;
 }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6