Copyright Digital Equipment Corp. All rights reserved.
Unlike the clear function, the clearok function does not alter the contents of the window. If the win argument is curscr, the next call to refresh causes a clearscreen, even if the window passed to refresh is not a window the size of the entire terminal screen.