Lines Matching defs:window
137 static int window = 0; /* window size in lines */
214 window = (int)strtol(&argv[i][1], (char **)NULL, 10);
313 if (window == 0)
314 window = lines - 1;
315 if (window <= 1)
316 window = 2;
413 new_ss.last_line = initline + (off_t)window - 1;
420 new_ss.last_line = (off_t)window;
431 if (new_ss.last_line < (off_t)window)
432 new_ss.last_line = (off_t)window;
439 (off_t)window + 1;
550 case '.': /* redisplay current window */
556 case 'w': /* set window size */
564 nlines = (off_t)window;
567 window = (int)nlines;
574 (off_t)window - 1;
583 (off_t)sign*window/2;
585 (off_t)window + 1;
629 nlines = nlines * (window - 1);
635 (off_t)window - 1;
649 new_ss.last_line - (off_t)window + 1;
653 new_ss.last_line = nlines + (off_t)window - 1;
658 new_ss.first_line + (off_t)window - 1;
669 nlines = (nlines - 1) * (window - 1);
674 new_ss.first_line + (off_t)window - 1;
678 new_ss.last_line = nlines + (off_t)window;
695 new_ss.last_line - (off_t)window + 1;
730 new_ss.first_line = eofl_no - (off_t)window;
1074 " w or z set window size and display next page\n"
1281 (off_t)window
1289 (off_t)window
1295 ((off_t)window - 1)/2;
1298 (off_t)window
1673 if ((pagenum = (int)((new_ss.last_line-2)/(window-1)+1))