Home
last modified time | relevance | path

Searched refs:EditLine (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-12.1/lib/libedit/
H A Dhistedit.h58 typedef struct editline EditLine; typedef
90 void el_end(EditLine *);
91 void el_reset(EditLine *);
97 int el_getc(EditLine *, char *);
103 void el_beep(EditLine *);
114 int el_set(EditLine *, int, ...);
115 int el_get(EditLine *, int, ...);
175 void el_resize(EditLine *);
180 const LineInfo *el_line(EditLine *);
272 int el_wset(EditLine *, int, ...);
[all …]
H A Dterminal.h86 protected void terminal_clear_EOL(EditLine *, int);
89 protected void terminal_deletechars(EditLine *, int);
90 protected void terminal_clear_screen(EditLine *);
91 protected void terminal_beep(EditLine *);
94 protected int terminal_init(EditLine *);
95 protected void terminal_bind_arrow(EditLine *);
99 protected void terminal_end(EditLine *);
101 protected int terminal_set(EditLine *, const char *);
106 protected void terminal_writec(EditLine *, wint_t);
107 protected int terminal__putc(EditLine *, wint_t);
[all …]
H A Dchared.h141 protected void cv_delfini(EditLine *);
144 protected void cv_undo(EditLine *);
150 protected void c_insert(EditLine *, int);
151 protected void c_delbefore(EditLine *, int);
152 protected void c_delbefore1(EditLine *);
153 protected void c_delafter(EditLine *, int);
154 protected void c_delafter1(EditLine *);
156 protected int c_hpos(EditLine *);
158 protected int ch_init(EditLine *);
159 protected void ch_reset(EditLine *, int);
[all …]
H A Dkeymacro.h62 protected int keymacro_init(EditLine *);
63 protected void keymacro_end(EditLine *);
64 protected keymacro_value_t *keymacro_map_cmd(EditLine *, int);
65 protected keymacro_value_t *keymacro_map_str(EditLine *, Char *);
66 protected void keymacro_reset(EditLine *);
67 protected int keymacro_get(EditLine *, Char *, keymacro_value_t *);
68 protected void keymacro_add(EditLine *, const Char *, keymacro_value_t *, int);
69 protected void keymacro_clear(EditLine *, el_action_t *, const Char *);
70 protected int keymacro_delete(EditLine *, const Char *);
71 protected void keymacro_print(EditLine *, const Char *);
[all …]
H A Dsearch.h55 protected int search_init(EditLine *);
56 protected void search_end(EditLine *);
57 protected int c_hmatch(EditLine *, const Char *);
58 protected void c_setpat(EditLine *);
59 protected el_action_t ce_inc_search(EditLine *, int);
60 protected el_action_t cv_search(EditLine *, int);
61 protected el_action_t ce_search_line(EditLine *, int);
62 protected el_action_t cv_repeat_srch(EditLine *, wint_t);
63 protected el_action_t cv_csearch(EditLine *, int, wint_t, int, int);
H A Dvi.c61 private el_action_t cv_action(EditLine *, wint_t);
62 private el_action_t cv_paste(EditLine *, wint_t);
68 cv_action(EditLine *el, wint_t c) in cv_action()
100 cv_paste(EditLine *el, wint_t c) in cv_paste()
256 vi_change_case(EditLine *el, wint_t c) in vi_change_case()
422 vi_add(EditLine *el, wint_t c __attribute__((__unused__))) in vi_add()
524 vi_undo(EditLine *el, wint_t c __attribute__((__unused__))) in vi_undo()
575 vi_zero(EditLine *el, wint_t c) in vi_zero()
614 vi_list_or_eof(EditLine *el, wint_t c) in vi_list_or_eof()
901 vi_yank(EditLine *el, wint_t c __attribute__((__unused__))) in vi_yank()
[all …]
H A Dmap.h69 protected int map_bind(EditLine *, int, const Char **);
70 protected int map_init(EditLine *);
71 protected void map_end(EditLine *);
72 protected void map_init_vi(EditLine *);
73 protected void map_init_emacs(EditLine *);
74 protected int map_set_editor(EditLine *, Char *);
75 protected int map_get_editor(EditLine *, const Char **);
76 protected int map_addfunc(EditLine *, const Char *, const Char *, el_func_t);
H A Drefresh.h50 protected void re_putc(EditLine *, wint_t, int);
51 protected void re_clear_lines(EditLine *);
52 protected void re_clear_display(EditLine *);
53 protected void re_refresh(EditLine *);
54 protected void re_refresh_cursor(EditLine *);
55 protected void re_fastaddc(EditLine *);
56 protected void re_goto_bottom(EditLine *);
H A Dcommon.c77 ed_insert(EditLine *el, wint_t c) in ed_insert()
263 ed_transpose_chars(EditLine *el, wint_t c) in ed_transpose_chars()
368 ed_quoted_insert(EditLine *el, wint_t c) in ed_quoted_insert()
386 ed_digit(EditLine *el, wint_t c) in ed_digit()
414 ed_argument_digit(EditLine *el, wint_t c) in ed_argument_digit()
439 ed_unassigned(EditLine *el __attribute__((__unused__)), in ed_unassigned()
457 ed_tty_sigint(EditLine *el __attribute__((__unused__)), in ed_tty_sigint()
471 ed_tty_dsusp(EditLine *el __attribute__((__unused__)), in ed_tty_dsusp()
499 ed_tty_sigquit(EditLine *el __attribute__((__unused__)), in ed_tty_sigquit()
513 ed_tty_sigtstp(EditLine *el __attribute__((__unused__)), in ed_tty_sigtstp()
[all …]
H A Dkeymacro.c92 private void node__put(EditLine *, keymacro_node_t *);
93 private int node__delete(EditLine *, keymacro_node_t **,
95 private int node_lookup(EditLine *, const Char *,
106 keymacro_init(EditLine *el) in keymacro_init()
122 keymacro_end(EditLine *el) in keymacro_end()
135 keymacro_map_cmd(EditLine *el, int cmd) in keymacro_map_cmd()
147 keymacro_map_str(EditLine *el, Char *str) in keymacro_map_str()
161 keymacro_reset(EditLine *el) in keymacro_reset()
241 keymacro_delete(EditLine *el, const Char *key) in keymacro_delete()
262 keymacro_print(EditLine *el, const Char *key) in keymacro_print()
[all …]
H A Dread.h40 typedef int (*el_rfunc_t)(EditLine *, wchar_t *);
46 protected int read_init(EditLine *);
47 protected void read_prepare(EditLine *);
48 protected void read_finish(EditLine *);
49 protected int el_read_setfn(EditLine *, el_rfunc_t);
50 protected el_rfunc_t el_read_getfn(EditLine *);
H A Dprompt.h44 typedef Char *(*el_pfunc_t)(EditLine *);
53 protected void prompt_print(EditLine *, int);
54 protected int prompt_set(EditLine *, el_pfunc_t, Char, int, int);
55 protected int prompt_get(EditLine *, el_pfunc_t *, Char *, int);
56 protected int prompt_init(EditLine *);
57 protected void prompt_end(EditLine *);
H A Dprompt.c52 private Char *prompt_default(EditLine *);
53 private Char *prompt_default_r(EditLine *);
60 prompt_default(EditLine *el __attribute__((__unused__))) in prompt_default()
73 prompt_default_r(EditLine *el __attribute__((__unused__))) in prompt_default_r()
85 prompt_print(EditLine *el, int op) in prompt_print()
122 prompt_init(EditLine *el) in prompt_init()
142 prompt_end(EditLine *el __attribute__((__unused__))) in prompt_end()
151 prompt_set(EditLine *el, el_pfunc_t prf, Char c, int op, int wide) in prompt_set()
183 prompt_get(EditLine *el, el_pfunc_t *prf, Char *c, int op) in prompt_get()
H A Demacs.c60 em_delete_or_list(EditLine *el, wint_t c) in em_delete_or_list()
125 em_yank(EditLine *el, wint_t c __attribute__((__unused__))) in em_yank()
161 em_kill_line(EditLine *el, wint_t c __attribute__((__unused__))) in em_kill_line()
183 em_kill_region(EditLine *el, wint_t c __attribute__((__unused__))) in em_kill_region()
216 em_copy_region(EditLine *el, wint_t c __attribute__((__unused__))) in em_copy_region()
245 em_gosmacs_transpose(EditLine *el, wint_t c) in em_gosmacs_transpose()
265 em_next_word(EditLine *el, wint_t c __attribute__((__unused__))) in em_next_word()
290 em_upper_case(EditLine *el, wint_t c __attribute__((__unused__))) in em_upper_case()
346 em_lower_case(EditLine *el, wint_t c __attribute__((__unused__))) in em_lower_case()
370 em_set_mark(EditLine *el, wint_t c __attribute__((__unused__))) in em_set_mark()
[all …]
H A Dhist.h77 protected int hist_init(EditLine *);
78 protected void hist_end(EditLine *);
79 protected el_action_t hist_get(EditLine *);
80 protected int hist_set(EditLine *, hist_fun_t, void *);
81 protected int hist_command(EditLine *, int, const Char **);
82 protected int hist_enlargebuf(EditLine *, size_t, size_t);
84 protected wchar_t *hist_convert(EditLine *, int, void *);
H A Dterminal.c225 terminal_setflags(EditLine *el) in terminal_setflags()
270 terminal_init(EditLine *el) in terminal_init()
321 terminal_end(EditLine *el) in terminal_end()
428 terminal_alloc_display(EditLine *el) in terminal_alloc_display()
474 terminal_free_display(EditLine *el) in terminal_free_display()
832 terminal_clear_screen(EditLine *el) in terminal_clear_screen()
853 terminal_beep(EditLine *el) in terminal_beep()
1019 terminal_init_arrow(EditLine *el) in terminal_init_arrow()
1064 terminal_reset_arrow(EditLine *el) in terminal_reset_arrow()
1169 terminal_bind_arrow(EditLine *el) in terminal_bind_arrow()
[all …]
H A Dchared.c65 cv_undo(EditLine *el) in cv_undo()
102 c_insert(EditLine *el, int num) in c_insert()
124 c_delafter(EditLine *el, int num) in c_delafter()
150 c_delafter1(EditLine *el) in c_delafter1()
193 c_delbefore1(EditLine *el) in c_delbefore1()
339 cv_delfini(EditLine *el) in cv_delfini()
399 ch_init(EditLine *el) in ch_init()
494 ch__clearmacro(EditLine *el) in ch__clearmacro()
595 ch_end(EditLine *el) in ch_end()
659 el_cursor(EditLine *el, int n) in el_cursor()
[all …]
H A Dsig.h66 protected void sig_end(EditLine*);
67 protected int sig_init(EditLine*);
68 protected void sig_set(EditLine*);
69 protected void sig_clr(EditLine*);
H A Dread.c63 private int read_preread(EditLine *);
72 read_init(EditLine *el) in read_init()
85 el_read_setfn(EditLine *el, el_rfunc_t rc) in el_read_setfn()
97 el_read_getfn(EditLine *el) in el_read_getfn()
110 read_debug(EditLine *el) in read_debug()
193 read_preread(EditLine *el) in read_preread()
309 read_char(EditLine *el, wchar_t *cp) in read_char()
399 el_wgetc(EditLine *el, wchar_t *cp) in el_wgetc()
448 read_prepare(EditLine *el) in read_prepare()
469 read_finish(EditLine *el) in read_finish()
[all …]
H A Dtty.h460 protected int tty_init(EditLine *);
461 protected void tty_end(EditLine *);
462 protected int tty_stty(EditLine *, int, const Char **);
463 protected int tty_rawmode(EditLine *);
464 protected int tty_cookedmode(EditLine *);
465 protected int tty_quotemode(EditLine *);
466 protected int tty_noquotemode(EditLine *);
467 protected void tty_bind_char(EditLine *, int);
H A Del.c66 public EditLine *
73 public EditLine *
77 EditLine *el = el_malloc(sizeof(*el)); in el_init_fd()
82 memset(el, 0, sizeof(EditLine)); in el_init_fd()
127 el_end(EditLine *el) in el_end()
161 el_reset(EditLine *el) in el_reset()
173 FUN(el,set)(EditLine *el, int op, ...) in FUN()
386 FUN(el,get)(EditLine *el, int op, ...) in FUN()
499 FUN(el,line)(EditLine *el) in TYPE()
582 el_resize(EditLine *el) in el_resize()
[all …]
H A Dhist.c58 hist_init(EditLine *el) in hist_init()
76 hist_end(EditLine *el) in hist_end()
88 hist_set(EditLine *el, hist_fun_t fun, void *ptr) in hist_set()
102 hist_get(EditLine *el) in hist_get()
161 hist_command(EditLine *el, int argc, const Char **argv) in hist_command()
199 hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) in hist_enlargebuf()
219 hist_convert(EditLine *el, int fn, void *arg) in hist_convert()
H A Drefresh.c55 private void re_nextline(EditLine *);
56 private void re_addc(EditLine *, wint_t);
97 re_nextline(EditLine *el) in re_nextline()
129 re_addc(EditLine *el, wint_t c) in re_addc()
201 re_refresh(EditLine *el) in re_refresh()
346 re_goto_bottom(EditLine *el) in re_goto_bottom()
996 re_refresh_cursor(EditLine *el) in re_refresh_cursor()
1059 re_fastputc(EditLine *el, wint_t c) in re_fastputc()
1112 re_fastaddc(EditLine *el) in re_fastaddc()
1154 re_clear_display(EditLine *el) in re_clear_display()
[all …]
H A Deln.c43 el_getc(EditLine *el, char *cp) in el_getc()
65 el_push(EditLine *el, const char *str) in el_push()
74 el_gets(EditLine *el, int *nread) in el_gets()
92 el_parse(EditLine *el, int argc, const char *argv[]) in el_parse()
109 el_set(EditLine *el, int op, ...) in el_set()
279 el_get(EditLine *el, int op, ...) in el_get()
366 el_line(EditLine *el) in el_line()
390 el_insertstr(EditLine *el, const char *str) in el_insertstr()
H A Dsig.c57 private EditLine *sel = NULL;
121 sig_init(EditLine *el) in sig_init()
153 sig_end(EditLine *el) in sig_end()
165 sig_set(EditLine *el) in sig_set()
192 sig_clr(EditLine *el) in sig_clr()

123