winsz             271 lib/tty/tty-ncurses.c     struct winsize winsz;
winsz             273 lib/tty/tty-ncurses.c     winsz.ws_col = winsz.ws_row = 0;
winsz             281 lib/tty/tty-ncurses.c     ioctl (fileno (stdout), TIOCGWINSZ, &winsz);
winsz             282 lib/tty/tty-ncurses.c     if (winsz.ws_col != 0 && winsz.ws_row != 0)
winsz             285 lib/tty/tty-ncurses.c         resizeterm (winsz.ws_row, winsz.ws_col);
winsz             288 lib/tty/tty-ncurses.c         COLS = winsz.ws_col;
winsz             289 lib/tty/tty-ncurses.c         LINES = winsz.ws_row;
winsz             167 src/consaver/cons.saver.c     struct winsize winsz;
winsz             234 src/consaver/cons.saver.c     winsz.ws_col = winsz.ws_row = 0;
winsz             235 src/consaver/cons.saver.c     if (ioctl (console_fd, TIOCGWINSZ, &winsz) < 0
winsz             236 src/consaver/cons.saver.c         || winsz.ws_col <= 0 || winsz.ws_row <= 0 || winsz.ws_col >= 256 || winsz.ws_row >= 256)
winsz             239 src/consaver/cons.saver.c     buffer_size = 4 + 2 * winsz.ws_col * winsz.ws_row;
winsz             273 src/consaver/cons.saver.c             send_contents (buffer + 4, winsz.ws_col, winsz.ws_row);