Searched refs:O_WINDOW (Results 1 - 10 of 10) sorted by relevance

/freebsd-11.0-release/contrib/nvi/common/
H A Doptions_f.c120 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) ||
121 O_VAL(sp, O_WINDOW) > *valp) {
122 o_set(sp, O_WINDOW, 0, NULL, 1);
123 o_set(sp, O_WINDOW, OS_DEF, NULL, 1);
128 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) ||
129 O_VAL(sp, O_WINDOW) > *valp) {
130 o_set(sp, O_WINDOW, 0, NULL, *valp - 1);
131 o_set(sp, O_WINDOW, OS_DE
[all...]
H A Doptions_def.h77 #define O_WINDOW 76 macro
H A Doptions.c230 /* O_WINDOW 4BSD */
284 {L("w"), O_WINDOW}, /* O'Reilly */
286 {L("wi"), O_WINDOW}, /* 4BSD (undocumented) */
414 OI(O_WINDOW, b2);
H A Dmain.c309 sp->defscroll = (O_VAL(sp, O_WINDOW) + 1) / 2;
/freebsd-11.0-release/contrib/nvi/vi/
H A Dv_z.c62 * O_WINDOW option, but that's not how it worked historically.
65 if (vp->count2 > O_VAL(sp, O_WINDOW))
66 vp->count2 = O_VAL(sp, O_WINDOW);
H A Dv_scroll.c350 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
401 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
H A Dv_init.c125 case O_WINDOW:
H A Dvs_split.c142 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW);
152 * was not. Don't complain if O_WINDOW is too large, we're
156 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW);
749 nsp->t_minrows = nsp->t_rows = O_VAL(nsp, O_WINDOW);
H A Dvi.c959 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW);
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_z.c57 cnt = O_VAL(sp, O_WINDOW) - 1;

Completed in 97 milliseconds