setscrreg, wsetscrreg - define software scrolling region
#include <curses.h> int setscrreg(int top, int bot); int wsetscrreg(WINDOW *win, int top, int bot);
Refer to clearok().