/netbsd-current/external/bsd/nvi/dist/common/ |
H A D | vi_db.c | 38 static int append __P((SCR*, db_recno_t, const CHAR_T*, size_t, lnop_t, int)); 44 * PUBLIC: int db_eget __P((SCR *, db_recno_t, CHAR_T **, size_t *, int *)); 47 db_eget(SCR *sp, db_recno_t lno, CHAR_T **pp, size_t *lenp, int *isemptyp) 88 * PUBLIC: int db_get __P((SCR *, db_recno_t, u_int32_t, CHAR_T **, size_t *)); 91 db_get(SCR *sp, db_recno_t lno, u_int32_t flags, CHAR_T **pp, size_t *lenp) 223 * PUBLIC: int db_delete __P((SCR *, db_recno_t)); 226 db_delete(SCR *sp, db_recno_t lno) 286 append(SCR *sp, db_recno_t lno, const CHAR_T *p, size_t len, lnop_t op, int update) 390 * PUBLIC: int db_append __P((SCR *, int, db_recno_t, const CHAR_T *, size_t)); 393 db_append(SCR *s [all...] |
H A D | key.c | 39 static int v_event_append __P((SCR *, EVENT *)); 40 static int v_event_grow __P((SCR *, int)); 42 static void v_keyval __P((SCR *, int, scr_keyval_t)); 43 static void v_sync __P((SCR *, int)); 106 * PUBLIC: int v_key_init __P((SCR *)); 109 v_key_init(SCR *sp) 170 v_keyval(SCR *sp, int val, scr_keyval_t name) 201 * PUBLIC: void v_key_ilookup __P((SCR *)); 204 v_key_ilookup(SCR *sp) 225 * PUBLIC: size_t v_key_len __P((SCR *, ARG_CHAR_ [all...] |
H A D | screen.h | 39 SCR *ccl_sp; /* Colon command-line screen. */ 80 void (*scr_msg) __P((SCR *, mtype_t, char *, size_t)); 84 * SCR -- 99 SCR *nextdisp; /* Next display screen. */ 100 SCR *ccl_parent; /* Colon command-line parent screen. */
|
H A D | log.c | 73 static int vi_log_get __P((SCR *sp, db_recno_t *lnop, size_t *size)); 74 static int log_cursor1 __P((SCR *, int)); 75 static void log_err __P((SCR *, const char *, int)); 77 static void log_trace __P((SCR *, const char *, db_recno_t, u_char *)); 99 * PUBLIC: int log_init __P((SCR *, EXF *)); 102 log_init(SCR *sp, EXF *ep) 136 * PUBLIC: int log_end __P((SCR *, EXF *)); 139 log_end(SCR *sp, EXF *ep) 165 * PUBLIC: int log_cursor __P((SCR *)); 168 log_cursor(SCR *s [all...] |
/netbsd-current/external/bsd/nvi/dist/vi/ |
H A D | v_itxt.c | 66 static u_int32_t set_txt_std __P((SCR *, VICMD *, u_int32_t)); 72 * PUBLIC: int v_iA __P((SCR *, VICMD *)); 75 v_iA(SCR *sp, VICMD *vp) 92 * PUBLIC: int v_ia __P((SCR *, VICMD *)); 95 v_ia(SCR *sp, VICMD *vp) 129 * PUBLIC: int v_iI __P((SCR *, VICMD *)); 132 v_iI(SCR *sp, VICMD *vp) 148 * PUBLIC: int v_ii __P((SCR *, VICMD *)); 151 v_ii(SCR *sp, VICMD *vp) 175 static int io __P((SCR *, VICM [all...] |
H A D | vi.h | 130 int (*func) __P((SCR *, VICMD *)); 165 int cs_bblank __P((SCR *, VCS *)); 166 int cs_fblank __P((SCR *, VCS *)); 167 int cs_fspace __P((SCR *, VCS *)); 168 int cs_init __P((SCR *, VCS *)); 169 int cs_next __P((SCR *, VCS *)); 170 int cs_prev __P((SCR *, VCS *));
|
H A D | v_word.c | 78 static int bword __P((SCR *, VICMD *, enum which)); 79 static int eword __P((SCR *, VICMD *, enum which)); 80 static int fword __P((SCR *, VICMD *, enum which)); 86 * PUBLIC: int v_wordW __P((SCR *, VICMD *)); 89 v_wordW(SCR *sp, VICMD *vp) 98 * PUBLIC: int v_wordw __P((SCR *, VICMD *)); 101 v_wordw(SCR *sp, VICMD *vp) 111 fword(SCR *sp, VICMD *vp, enum which type) 253 * PUBLIC: int v_wordE __P((SCR *, VICMD *)); 256 v_wordE(SCR *s [all...] |
H A D | vs_msg.c | 46 static void vs_divider __P((SCR *)); 47 static void vs_msgsave __P((SCR *, mtype_t, char *, size_t)); 48 static void vs_output __P((SCR *, mtype_t, const char *, int)); 49 static void vs_scroll __P((SCR *, int *, sw_t)); 50 static void vs_wait __P((SCR *, int *, sw_t)); 62 * PUBLIC: void vs_busy __P((SCR *, const char *, busy_t)); 65 vs_busy(SCR *sp, const char *msg, busy_t btype) 149 * PUBLIC: void vs_home __P((SCR *)); 152 vs_home(SCR *sp) 162 * PUBLIC: void vs_update __P((SCR *, cons [all...] |
H A D | vs_smap.c | 35 static int vs_deleteln __P((SCR *, int)); 36 static int vs_insertln __P((SCR *, int)); 37 static int vs_sm_delete __P((SCR *, db_recno_t)); 38 static int vs_sm_down __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *)); 39 static int vs_sm_erase __P((SCR *)); 40 static int vs_sm_insert __P((SCR *, db_recno_t)); 41 static int vs_sm_reset __P((SCR *, db_recno_t)); 42 static int vs_sm_up __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *)); 48 * PUBLIC: int vs_change __P((SCR *, db_recno_t, lnop_t)); 51 vs_change(SCR *s [all...] |
H A D | v_screen.c | 37 * PUBLIC: int v_screen __P((SCR *, VICMD *)); 40 v_screen(SCR *sp, VICMD *vp)
|
H A D | v_ulcase.c | 37 static int ulcase __P((SCR *, db_recno_t, CHAR_T *, size_t, size_t, size_t)); 53 * PUBLIC: int v_ulcase __P((SCR *, VICMD *)); 56 v_ulcase(SCR *sp, VICMD *vp) 111 * PUBLIC: int v_mulcase __P((SCR *, VICMD *)); 114 v_mulcase(SCR *sp, VICMD *vp) 150 ulcase(SCR *sp, db_recno_t lno, CHAR_T *lp, size_t len, size_t scno, size_t ecno)
|
H A D | v_yank.c | 48 * PUBLIC: int v_yank __P((SCR *, VICMD *)); 51 v_yank(SCR *sp, VICMD *vp)
|
H A D | v_search.c | 38 static int v_exaddr __P((SCR *, VICMD *, dir_t)); 39 static int v_search __P((SCR *, VICMD *, CHAR_T *, size_t, u_int, dir_t)); 45 * PUBLIC: int v_searchb __P((SCR *, VICMD *)); 48 v_searchb(SCR *sp, VICMD *vp) 57 * PUBLIC: int v_searchf __P((SCR *, VICMD *)); 60 v_searchf(SCR *sp, VICMD *vp) 70 v_exaddr(SCR *sp, VICMD *vp, dir_t dir) 288 * PUBLIC: int v_searchN __P((SCR *, VICMD *)); 291 v_searchN(SCR *sp, VICMD *vp) 313 * PUBLIC: int v_searchn __P((SCR *, VICM [all...] |
H A D | v_right.c | 37 * PUBLIC: int v_right __P((SCR *, VICMD *)); 40 v_right(SCR *sp, VICMD *vp) 87 * PUBLIC: int v_dollar __P((SCR *, VICMD *)); 90 v_dollar(SCR *sp, VICMD *vp)
|
H A D | v_xchar.c | 37 * PUBLIC: int v_xchar __P((SCR *, VICMD *)); 40 v_xchar(SCR *sp, VICMD *vp) 84 * PUBLIC: int v_Xchar __P((SCR *, VICMD *)); 87 v_Xchar(SCR *sp, VICMD *vp)
|
/netbsd-current/external/bsd/nvi/dist/ex/ |
H A D | ex_tag.c | 53 static void ctag_file __P((SCR *, TAGF *, char *, char **, size_t *)); 54 static int ctag_search __P((SCR *, CHAR_T *, size_t, char *)); 57 static TAGQ *gtag_slist __P((SCR *, CHAR_T *, int)); 59 static int ctag_sfile __P((SCR *, TAGF *, TAGQ *, char *)); 60 static TAGQ *ctag_slist __P((SCR *, CHAR_T *)); 62 static int tag_copy __P((SCR *, TAG *, TAG **)); 63 static int tag_pop __P((SCR *, TAGQ *, int)); 64 static int tagf_copy __P((SCR *, TAGF *, TAGF **)); 65 static int tagf_free __P((SCR *, TAGF *)); 66 static int tagq_copy __P((SCR *, TAG [all...] |
H A D | ex_write.c | 39 static int exwr __P((SCR *, EXCMD *, enum which)); 45 * PUBLIC: int ex_wn __P((SCR *, EXCMD *)); 48 ex_wn(SCR *sp, EXCMD *cmdp) 65 * PUBLIC: int ex_wq __P((SCR *, EXCMD *)); 68 ex_wq(SCR *sp, EXCMD *cmdp) 91 * PUBLIC: int ex_write __P((SCR *, EXCMD *)); 94 ex_write(SCR *sp, EXCMD *cmdp) 104 * PUBLIC: int ex_xit __P((SCR *, EXCMD *)); 107 ex_xit(SCR *sp, EXCMD *cmdp) 132 exwr(SCR *s [all...] |
H A D | ex_delete.c | 36 * PUBLIC: int ex_delete __P((SCR *, EXCMD *)); 39 ex_delete(SCR *sp, EXCMD *cmdp)
|
H A D | ex_put.c | 37 * PUBLIC: int ex_put __P((SCR *, EXCMD *)); 40 ex_put(SCR *sp, EXCMD *cmdp)
|
H A D | ex_shift.c | 34 static int shift __P((SCR *, EXCMD *, enum which)); 40 * PUBLIC: int ex_shiftl __P((SCR *, EXCMD *)); 43 ex_shiftl(SCR *sp, EXCMD *cmdp) 51 * PUBLIC: int ex_shiftr __P((SCR *, EXCMD *)); 54 ex_shiftr(SCR *sp, EXCMD *cmdp) 64 shift(SCR *sp, EXCMD *cmdp, enum which rl)
|
H A D | ex_undo.c | 36 * PUBLIC: int ex_undo __P((SCR *, EXCMD *)); 39 ex_undo(SCR *sp, EXCMD *cmdp)
|
H A D | ex_script.c | 57 static void sscr_check __P((SCR *)); 58 static int sscr_getprompt __P((SCR *)); 59 static int sscr_init __P((SCR *)); 60 static int sscr_insert __P((SCR *)); 66 static int sscr_setprompt __P((SCR *, char *, size_t)); 72 * PUBLIC: int ex_script __P((SCR *, EXCMD *)); 75 ex_script(SCR *sp, EXCMD *cmdp) 111 sscr_init(SCR *sp) 222 sscr_getprompt(SCR *sp) 253 * PUBLIC: int sscr_exec __P((SCR *, db_recno_ [all...] |
H A D | ex_abbrev.c | 40 * PUBLIC: int ex_abbr __P((SCR *, EXCMD *)); 43 ex_abbr(SCR *sp, EXCMD *cmdp) 104 * PUBLIC: int ex_unabbr __P((SCR *, EXCMD *)); 107 ex_unabbr(SCR *sp, EXCMD *cmdp)
|
H A D | ex_map.c | 48 * PUBLIC: int ex_map __P((SCR *, EXCMD *)); 51 ex_map(SCR *sp, EXCMD *cmdp) 113 * PUBLIC: int ex_unmap __P((SCR *, EXCMD *)); 116 ex_unmap(SCR *sp, EXCMD *cmdp)
|
/netbsd-current/external/bsd/nvi/dist/ip/ |
H A D | ip_read.c | 117 static input_t ip_read __P((SCR *, IP_PRIVATE *, struct timeval *, int, int*)); 118 static int ip_resize __P((SCR *, u_int32_t, u_int32_t)); 119 static int ip_trans __P((SCR *, IP_PRIVATE *, EVENT *)); 125 * PUBLIC: int ip_event __P((SCR *, EVENT *, u_int32_t, int)); 128 ip_event(SCR *sp, EVENT *evp, u_int32_t flags, int ms) 140 * PUBLIC: int ip_wevent __P((WIN *, SCR *, EVENT *, u_int32_t, int)); 143 ip_wevent(WIN *wp, SCR *sp, EVENT *evp, u_int32_t flags, int ms) 213 ip_read(SCR *sp, IP_PRIVATE *ipp, struct timeval *tp, int termread, int *nr) 298 ip_trans(SCR *sp, IP_PRIVATE *ipp, EVENT *evp) 370 ip_resize(SCR *s [all...] |