subwin
titlebar = subwin(stdscr, 1, screen_width, 0, 0);
captionbar = subwin(stdscr, 1, screen_width, 1, 0);
sysglobal_window = subwin(stdscr, screen_height / 2 - 1,
process_window = subwin(stdscr, screen_height / 2 - 3,
taskbar = subwin(stdscr, 1, screen_width, screen_height - 2, 0);
hintbar = subwin(stdscr, 1, screen_width, screen_height - 1, 0);
sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0);
sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y,
sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
sw[SW_EVENTS] = subwin(stdscr, event_lines, win_cols, pos_y, 0);
sw[SW_SUGG] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
sw[SW_STATUS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
#define subpad(par, ny, nx, by, bx) subwin(par, ny, nx, by, bx)
extern WINDOW *subwin(WINDOW *, int, int, int, int);
w = subwin(parent, nlines, ncols, begy, begx);
sp->_slk._w = subwin(sp->_newscr, 1, 0, --lines, 0);
#define subpad(par, ny, nx, by, bx) subwin(par, ny, nx, by, bx)
extern WINDOW *subwin(WINDOW *, int, int, int, int);
w = subwin(parent, nlines, ncols, begy, begx);
sp->_slk._w = subwin(sp->_newscr, 1, 0, lines-1, 0);
WINDOW *initscr(), *newwin(), *subwin();
extern WINDOW *subwin(WINDOW *, int, int, int, int);