Searched refs:O_WINDOW (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/nvi/common/ |
H A D | options_f.c | 104 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 D | options.c | 286 {L("w"), O_WINDOW}, /* O'Reilly */ 288 {L("wi"), O_WINDOW}, /* 4BSD (undocumented) */ 414 OI(O_WINDOW, b2); in opts_init()
|
H A D | main.c | 297 sp->defscroll = (O_VAL(sp, O_WINDOW) + 1) / 2; in editor()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_scroll.c | 346 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 D | v_z.c | 61 if (vp->count2 > O_VAL(sp, O_WINDOW)) in v_z() 62 vp->count2 = O_VAL(sp, O_WINDOW); in v_z()
|
H A D | v_init.c | 116 case O_WINDOW: in v_optchange()
|
H A D | vs_split.c | 138 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 D | vi.c | 955 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW); in v_init()
|
/freebsd/usr.bin/vi/ |
H A D | options_def.h | 79 #define O_WINDOW 78 macro
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_z.c | 53 cnt = O_VAL(sp, O_WINDOW) - 1; in ex_z()
|