Lines Matching defs:el
68 EditLine *el; /* editline cookie */
100 if (editing && !el && isatty(0)) { /* && isatty(2) ??? */
120 el = el_init(arg0, el_in, el_out, el_err);
121 if (el != NULL) {
123 el_set(el, EL_HIST, history, hist);
124 el_set(el, EL_PROMPT, getprompt);
125 el_set(el, EL_ADDFN, "sh-complete",
133 } else if (!editing && el) {
135 el_end(el);
136 el = NULL;
139 if (el) {
141 el_set(el, EL_EDITOR, "vi");
143 el_set(el, EL_EDITOR, "emacs");
144 el_set(el, EL_BIND, "^I", "sh-complete", NULL);
145 el_source(el, NULL);
149 if (el) { /* no editing if not interactive */
150 el_end(el);
151 el = NULL;
180 if (rootshell && el != NULL && term != NULL)
181 el_set(el, EL_TERMINAL, term);
477 if (el == NULL)
479 return (el_parse(el, argc, (const char **)argv));