| /freebsd-12.1/contrib/nvi/vi/ |
| H A D | extern.h | 1 int cs_init(SCR *, VCS *); 2 int cs_next(SCR *, VCS *); 5 int cs_prev(SCR *, VCS *); 28 int v_screen_copy(SCR *, SCR *); 112 int vi(SCR **); 121 int vs_resolve(SCR *, SCR *, int); 139 int vs_split(SCR *, SCR *, int); 140 int vs_vsplit(SCR *, SCR *); 141 int vs_discard(SCR *, SCR **); 142 int vs_fg(SCR *, SCR **, CHAR_T *, int); [all …]
|
| H A D | v_ex.c | 30 static int v_ecl(SCR *); 31 static int v_ecl_init(SCR *); 43 v_again(SCR *sp, VICMD *vp) in v_again() 59 v_exmode(SCR *sp, VICMD *vp) in v_exmode() 95 v_join(SCR *sp, VICMD *vp) in v_join() 325 v_ex(SCR *sp, VICMD *vp) in v_ex() 495 v_ecl(SCR *sp) in v_ecl() 498 SCR *new; in v_ecl() 549 v_ecl_exec(SCR *sp) in v_ecl_exec() 584 SCR *ccl_sp; in v_ecl_log() [all …]
|
| H A D | v_scroll.c | 70 v_lgoto(SCR *sp, VICMD *vp) in v_lgoto() 107 v_home(SCR *sp, VICMD *vp) in v_home() 124 v_middle(SCR *sp, VICMD *vp) in v_middle() 145 v_bottom(SCR *sp, VICMD *vp) in v_bottom() 208 v_up(SCR *sp, VICMD *vp) in v_up() 230 v_cr(SCR *sp, VICMD *vp) in v_cr() 251 v_down(SCR *sp, VICMD *vp) in v_down() 272 v_hpageup(SCR *sp, VICMD *vp) in v_hpageup() 324 v_pagedown(SCR *sp, VICMD *vp) in v_pagedown() 370 v_pageup(SCR *sp, VICMD *vp) in v_pageup() [all …]
|
| H A D | vs_split.c | 32 static SCR *vs_getbg(SCR *, char *); 34 static int vs_join(SCR *, SCR **, jdir_t *); 44 SCR *sp, in vs_split() 45 SCR *new, in vs_split() 208 vs_vsplit(SCR *sp, SCR *new) in vs_vsplit() 300 SCR *tsp; in vs_insert() 337 vs_discard(SCR *sp, SCR **spp) in vs_discard() 454 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) in vs_join() 617 SCR *nsp; in vs_fg() 670 SCR *nsp; in vs_bg() [all …]
|
| H A D | v_ch.c | 28 static void notfound(SCR *, ARG_CHAR_T); 29 static void noprev(SCR *); 38 v_chrepeat(SCR *sp, VICMD *vp) in v_chrepeat() 67 v_chrrepeat(SCR *sp, VICMD *vp) in v_chrrepeat() 106 v_cht(SCR *sp, VICMD *vp) in v_cht() 137 v_chf(SCR *sp, VICMD *vp) in v_chf() 194 v_chT(SCR *sp, VICMD *vp) in v_chT() 219 v_chF(SCR *sp, VICMD *vp) in v_chF() 273 noprev(SCR *sp) in noprev() 279 notfound(SCR *sp, ARG_CHAR_T ch) in notfound()
|
| H A D | v_util.c | 38 v_eof(SCR *sp, MARK *mp) in v_eof() 61 v_eol(SCR *sp, MARK *mp) in v_eol() 84 v_nomove(SCR *sp) in v_nomove() 96 v_sof(SCR *sp, MARK *mp) in v_sof() 111 v_sol(SCR *sp) in v_sol() 138 v_emsg(SCR *sp, char *p, vim_t which) in v_emsg()
|
| H A D | v_word.c | 69 static int bword(SCR *, VICMD *, enum which); 70 static int eword(SCR *, VICMD *, enum which); 80 v_wordW(SCR *sp, VICMD *vp) in v_wordW() 92 v_wordw(SCR *sp, VICMD *vp) in v_wordw() 102 fword(SCR *sp, VICMD *vp, enum which type) in fword() 240 v_wordE(SCR *sp, VICMD *vp) in v_wordE() 252 v_worde(SCR *sp, VICMD *vp) in v_worde() 262 eword(SCR *sp, VICMD *vp, enum which type) in eword() 386 v_wordB(SCR *sp, VICMD *vp) in v_wordB() 398 v_wordb(SCR *sp, VICMD *vp) in v_wordb() [all …]
|
| H A D | vs_smap.c | 29 static int vs_deleteln(SCR *, int); 30 static int vs_insertln(SCR *, int); 33 static int vs_sm_erase(SCR *); 35 static int vs_sm_reset(SCR *, recno_t); 311 vs_sm_delete(SCR *sp, recno_t lno) in vs_sm_delete() 413 vs_sm_reset(SCR *sp, recno_t lno) in vs_sm_reset() 751 vs_sm_1up(SCR *sp) in vs_sm_1up() 780 vs_deleteln(SCR *sp, int cnt) in vs_deleteln() 963 vs_sm_erase(SCR *sp) in vs_sm_erase() 984 vs_sm_1down(SCR *sp) in vs_sm_1down() [all …]
|
| H A D | v_itxt.c | 69 v_iA(SCR *sp, VICMD *vp) in v_iA() 89 v_ia(SCR *sp, VICMD *vp) in v_ia() 126 v_iI(SCR *sp, VICMD *vp) in v_iI() 145 v_ii(SCR *sp, VICMD *vp) in v_ii() 169 static int io(SCR *, VICMD *, enum which); 178 v_iO(SCR *sp, VICMD *vp) in v_iO() 190 v_io(SCR *sp, VICMD *vp) in v_io() 196 io(SCR *sp, VICMD *vp, enum which cmd) in io() 246 v_change(SCR *sp, VICMD *vp) in v_change() 386 v_Replace(SCR *sp, VICMD *vp) in v_Replace() [all …]
|
| /freebsd-12.1/contrib/nvi/ex/ |
| H A D | extern.h | 1 int ex(SCR **); 2 int ex_cmd(SCR *); 24 int argv_free(SCR *); 32 int cscope_end(SCR *); 40 int ex_filter(SCR *, 45 int ex_screen_copy(SCR *, SCR *); 48 int ex_exrc(SCR *); 80 int sscr_end(SCR *); 92 int re_compile(SCR *, 104 int ex_tag_copy(SCR *, SCR *); [all …]
|
| H A D | ex_cscope.c | 92 static int csc_help(SCR *, char *); 93 static void csc_file(SCR *, 95 static int get_paths(SCR *, CSC *); 98 static int read_prompt(SCR *, CSC *); 110 ex_cscope(SCR *sp, EXCMD *cmdp) in ex_cscope() 157 start_cscopes(SCR *sp, EXCMD *cmdp) in start_cscopes() 298 get_paths(SCR *sp, CSC *csc) in get_paths() 853 csc_help(SCR *sp, char *cmd) in csc_help() 971 cscope_end(SCR *sp) in cscope_end() 988 cscope_display(SCR *sp) in cscope_display() [all …]
|
| H A D | ex_tag.c | 92 ex_tag_push(SCR *sp, EXCMD *cmdp) in ex_tag_push() 143 ex_tag_next(SCR *sp, EXCMD *cmdp) in ex_tag_next() 183 ex_tag_prev(SCR *sp, EXCMD *cmdp) in ex_tag_prev() 259 SCR *new; in ex_tag_Nswitch() 311 ex_tag_pop(SCR *sp, EXCMD *cmdp) in ex_tag_pop() 390 ex_tag_top(SCR *sp, EXCMD *cmdp) in ex_tag_top() 465 ex_tag_display(SCR *sp) in ex_tag_display() 542 ex_tag_copy(SCR *orig, SCR *sp) in ex_tag_copy() 665 tagf_free(SCR *sp, TAGF *tfp) in tagf_free() 683 tagq_free(SCR *sp, TAGQ *tqp) in tagq_free() [all …]
|
| H A D | ex_print.c | 29 static int ex_prchars(SCR *, 40 ex_list(SCR *sp, EXCMD *cmdp) in ex_list() 58 ex_number(SCR *sp, EXCMD *cmdp) in ex_number() 76 ex_pr(SCR *sp, EXCMD *cmdp) in ex_pr() 92 ex_print(SCR *sp, EXCMD *cmdp, MARK *fp, MARK *tp, u_int32_t flags) in ex_print() 147 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) in ex_ldisplay() 168 ex_scprint(SCR *sp, MARK *fp, MARK *tp) in ex_scprint() 203 ex_prchars(SCR *sp, const CHAR_T *p, size_t *colp, size_t len, in ex_prchars() 265 SCR *sp, in ex_printf() 294 ex_puts(SCR *sp, const char *str) in ex_puts() [all …]
|
| H A D | ex_screen.c | 36 ex_bg(SCR *sp, EXCMD *cmdp) in ex_bg() 48 ex_fg(SCR *sp, EXCMD *cmdp) in ex_fg() 50 SCR *nsp; in ex_fg() 72 ex_resize(SCR *sp, EXCMD *cmdp) in ex_resize() 101 ex_sdisplay(SCR *sp) in ex_sdisplay() 104 SCR *tsp; in ex_sdisplay()
|
| H A D | ex_script.c | 48 static void sscr_check(SCR *); 49 static int sscr_getprompt(SCR *); 50 static int sscr_init(SCR *); 51 static int sscr_insert(SCR *); 62 ex_script(SCR *sp, EXCMD *cmdp) in ex_script() 87 sscr_init(SCR *sp) in sscr_init() 194 sscr_getprompt(SCR *sp) in sscr_getprompt() 374 sscr_input(SCR *sp) in sscr_input() 421 sscr_insert(SCR *sp) in sscr_insert() 583 sscr_end(SCR *sp) in sscr_end() [all …]
|
| /freebsd-12.1/contrib/nvi/common/ |
| H A D | extern.h | 2 void conv_init(SCR *, SCR *); 4 void conv_end(SCR *); 26 int v_key_init(SCR *); 64 void mod_rpt(SCR *); 79 int opts_copy(SCR *, SCR *); 98 int rcv_init(SCR *); 100 int rcv_list(SCR *); 102 int screen_init(GS *, SCR *, SCR **); 104 SCR *screen_next(SCR *); 105 int f_search(SCR *, [all …]
|
| H A D | gs.h | 153 int (*scr_baud)(SCR *, u_long *); 155 int (*scr_bell)(SCR *); 159 int (*scr_child)(SCR *); 161 int (*scr_clrtoeol)(SCR *); 165 int (*scr_deleteln)(SCR *); 167 int (*scr_discard)(SCR *, SCR **); 177 int (*scr_insertln)(SCR *); 185 int (*scr_refresh)(SCR *, int); 191 int (*scr_screen)(SCR *, u_int32_t); 193 int (*scr_split)(SCR *, SCR *); [all …]
|
| H A D | options_f.c | 36 SCR *sp, in f_altwerase() 51 SCR *sp, in f_columns() 85 SCR *sp, in f_lines() 142 SCR *sp, in f_lisp() 156 SCR *sp, in f_msgcat() 170 SCR *sp, in f_print() 199 SCR *sp, in f_readonly() 220 SCR *sp, in f_recompile() 241 SCR *sp, in f_reformat() 255 SCR *sp, in f_ttywerase() [all …]
|
| H A D | screen.c | 40 SCR *orig, in screen_init() 41 SCR **spp) in screen_init() 43 SCR *sp; in screen_init() 47 CALLOC_RET(orig, sp, SCR *, 1, sizeof(SCR)); in screen_init() 135 screen_end(SCR *sp) in screen_end() 210 SCR * 211 screen_next(SCR *sp) in screen_next() 214 SCR *next; in screen_next()
|
| H A D | key.c | 149 SCR *sp, in v_keyval() 210 SCR *sp, in v_key_len() 226 SCR *sp, in v_key_name() 334 SCR *sp, in v_key_val() 358 SCR *sp, in v_event_push() 412 SCR *sp, in v_event_append() 539 SCR *sp, in v_event_get() 758 SCR *sp, in v_sync() 778 SCR *sp, in v_event_err() 828 SCR *sp, in v_event_flush() [all …]
|
| H A D | mark.c | 29 static LMARK *mark_find(SCR *, ARG_CHAR_T); 70 SCR *sp, in mark_init() 91 SCR *sp, in mark_end() 115 SCR *sp, in mark_get() 160 SCR *sp, in mark_set() 202 SCR *sp, in mark_find() 227 SCR *sp, in mark_insdel()
|
| H A D | log.c | 97 SCR *sp, in log_init() 133 SCR *sp, in log_end() 162 log_cursor(SCR *sp) in log_cursor() 190 SCR *sp, in log_cursor1() 228 SCR *sp, in log_line() 331 SCR *sp, in log_mark() 377 SCR *sp, in log_backward() 565 SCR *sp, in log_forward() 662 SCR *sp, in log_err() 678 SCR *sp, in log_trace() [all …]
|
| H A D | conv.c | 54 raw2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in raw2int() 105 default_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, in default_char2int() 159 fe_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in fe_char2int() 167 ie_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in ie_char2int() 182 int2raw(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, size_t *tolen, in int2raw() 201 default_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in default_int2char() 296 fe_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in fe_int2char() 304 cs_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in cs_int2char() 319 conv_init(SCR *orig, SCR *sp) in conv_init() 378 conv_enc(SCR *sp, int option, char *enc) in conv_enc() [all …]
|
| /freebsd-12.1/contrib/nvi/cl/ |
| H A D | extern.h | 4 int cl_baud(SCR *, u_long *); 5 int cl_bell(SCR *); 6 int cl_clrtoeol(SCR *); 8 int cl_deleteln(SCR *); 9 int cl_discard(SCR *, SCR **); 11 int cl_insertln(SCR *); 14 int cl_refresh(SCR *, int); 17 int cl_split(SCR *, SCR *); 18 int cl_suspend(SCR *, int *); 20 int sig_init(GS *, SCR *); [all …]
|
| H A D | cl_funcs.c | 36 static void cl_rdiv(SCR *); 193 cl_baud(SCR *sp, u_long *ratep) in cl_baud() 234 cl_bell(SCR *sp) in cl_bell() 258 cl_clrtoeol(SCR *sp) in cl_clrtoeol() 313 cl_deleteln(SCR *sp) in cl_deleteln() 350 cl_discard(SCR *discardp, SCR **acquirep) in cl_discard() 353 SCR* tsp; in cl_discard() 446 cl_insertln(SCR *sp) in cl_insertln() 527 SCR *psp, *tsp; in cl_refresh() 589 cl_rdiv(SCR *sp) in cl_rdiv() [all …]
|