Lines Matching refs:el
21 prompt(EditLine *el) in prompt() argument
57 complete(EditLine *el, int ch) in complete() argument
63 const LineInfoW *lf = el_wline(el); in complete()
93 if (el_winsertstr(el, dir) == -1) in complete()
110 EditLine *el = NULL; in main() local
133 el = el_init(argv[0], stdin, stdout, stderr); in main()
135 el_wset(el, EL_EDITOR, L"vi"); /* Default editor is vi */ in main()
136 el_wset(el, EL_SIGNAL, 1); /* Handle signals gracefully */ in main()
137 el_wset(el, EL_PROMPT_ESC, prompt, '\1'); /* Set the prompt function */ in main()
139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ in main()
142 el_wset(el, EL_ADDFN, L"ed-complete", L"Complete argument", complete); in main()
145 el_wset(el, EL_BIND, L"^I", L"ed-complete", NULL); in main()
151 el_wset(el, EL_BIND, L"-a", L"k", L"ed-prev-line", NULL); in main()
152 el_wset(el, EL_BIND, L"-a", L"j", L"ed-next-line", NULL); in main()
155 el_source(el, NULL); in main()
157 while((line = el_wgets(el, &numc)) != NULL && numc != 0) { in main()
162 li = el_wline(el); in main()
175 el_reset(el); in main()
242 } else if (el_wparse(el, ac, av) == -1) { in main()
269 el_end(el); in main()