MAXCOLUMNS
rc = wgetnstr(win, buf, MAXCOLUMNS);
char buf[MAXCOLUMNS], *bufp;
#define FIFO_SIZE MAXCOLUMNS+2 /* for nocbreak mode input */