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

Diff for /src/usr.bin/top/screen.c between version 1.13 and 1.14

version 1.13, 2003/06/16 17:24:44 version 1.14, 2004/05/09 22:14:15
Line 30 
Line 30 
   
 /*  /*
  * This file contains the routines that interface to termcap and stty/gtty.   * This file contains the routines that interface to termcap and stty/gtty.
  *   *
  * Paul Vixie, February 1987: converted to use ioctl() instead of stty/gtty.   * Paul Vixie, February 1987: converted to use ioctl() instead of stty/gtty.
  *   *
  * I put in code to turn on the TOSTOP bit while top was running, but I didn't   * I put in code to turn on the TOSTOP bit while top was running, but I didn't
  * really like the results.  If you desire it, turn on the preprocessor   * really like the results.  If you desire it, turn on the preprocessor
  * variable "TOStop".   --wnl   * variable "TOStop".   --wnl
Line 251 
Line 251 
         }          }
 }  }
   
 void  void
 clear()  clear(void)
 {  {
         if (smart_terminal)          if (smart_terminal)
                 putcap(clear_scr);                  putcap(clear_scr);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14