Home
last modified time | relevance | path

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

/freebsd/contrib/nvi/common/
H A Doptions_f.c104 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) || in f_lines()
105 O_VAL(sp, O_WINDOW) > *valp) { in f_lines()
106 o_set(sp, O_WINDOW, 0, NULL, 1); in f_lines()
107 o_set(sp, O_WINDOW, OS_DEF, NULL, 1); in f_lines()
112 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) || in f_lines()
113 O_VAL(sp, O_WINDOW) > *valp) { in f_lines()
114 o_set(sp, O_WINDOW, 0, NULL, *valp - 1); in f_lines()
115 o_set(sp, O_WINDOW, OS_DEF, NULL, *valp - 1); in f_lines()
H A Doptions.c286 {L("w"), O_WINDOW}, /* O'Reilly */
288 {L("wi"), O_WINDOW}, /* 4BSD (undocumented) */
414 OI(O_WINDOW, b2); in opts_init()
H A Dmain.c297 sp->defscroll = (O_VAL(sp, O_WINDOW) + 1) / 2; in editor()
/freebsd/contrib/nvi/vi/
H A Dv_scroll.c346 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pagedown()
397 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pageup()
H A Dv_z.c61 if (vp->count2 > O_VAL(sp, O_WINDOW)) in v_z()
62 vp->count2 = O_VAL(sp, O_WINDOW); in v_z()
H A Dv_init.c116 case O_WINDOW: in v_optchange()
H A Dvs_split.c138 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split()
152 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split()
745 nsp->t_minrows = nsp->t_rows = O_VAL(nsp, O_WINDOW); in vs_swap()
H A Dvi.c955 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW); in v_init()
/freebsd/usr.bin/vi/
H A Doptions_def.h79 #define O_WINDOW 78 macro
/freebsd/contrib/nvi/ex/
H A Dex_z.c53 cnt = O_VAL(sp, O_WINDOW) - 1; in ex_z()