numlines If it is 0, the newwin function sets that dimension to LINES (begin_y). To get a new window of dimensions LINES by COLS, use the following line: newwin (0, 0, 0, 0) numcols If it is 0, the newwin function sets that dimension to COLS (begin_x). Therefore, to get a new window of dimensions LINES by COLS, use the following line: newwin (0, 0, 0, 0) begin_y A window coordinate. begin_x A window coordinate.