winsz             319 lib/tty/tty-ncurses.c     struct winsize winsz;
winsz             321 lib/tty/tty-ncurses.c     winsz.ws_col = winsz.ws_row = 0;
winsz             329 lib/tty/tty-ncurses.c     ioctl (fileno (stdout), TIOCGWINSZ, &winsz);
winsz             330 lib/tty/tty-ncurses.c     if (winsz.ws_col != 0 && winsz.ws_row != 0)
winsz             333 lib/tty/tty-ncurses.c         resizeterm (winsz.ws_row, winsz.ws_col);
winsz             336 lib/tty/tty-ncurses.c         COLS = winsz.ws_col;
winsz             337 lib/tty/tty-ncurses.c         LINES = winsz.ws_row;
winsz             170 src/consaver/cons.saver.c     struct winsize winsz;
winsz             237 src/consaver/cons.saver.c     winsz.ws_col = winsz.ws_row = 0;
winsz             238 src/consaver/cons.saver.c     if (ioctl (console_fd, TIOCGWINSZ, &winsz) < 0
winsz             239 src/consaver/cons.saver.c         || winsz.ws_col <= 0 || winsz.ws_row <= 0 || winsz.ws_col >= 256 || winsz.ws_row >= 256)
winsz             242 src/consaver/cons.saver.c     buffer_size = 4 + 2 * winsz.ws_col * winsz.ws_row;
winsz             276 src/consaver/cons.saver.c             send_contents (buffer + 4, winsz.ws_col, winsz.ws_row);