Lines Matching refs:el
69 EditLine *el; /* editline cookie */ variable
104 if (editing && !el && isatty(0)) { /* && isatty(2) ??? */ in histedit()
130 el = el_init(shname, el_in, el_out, el_err); in histedit()
131 if (el != NULL) { in histedit()
133 el_set(el, EL_HIST, history, hist); in histedit()
134 el_set(el, EL_PROMPT, getprompt); in histedit()
135 el_set(el, EL_SIGNAL, 1); in histedit()
141 } else if (!editing && el) { in histedit()
143 el_end(el); in histedit()
144 el = NULL; in histedit()
147 if (el) { in histedit()
149 el_set(el, EL_EDITOR, "vi"); in histedit()
151 el_set(el, EL_EDITOR, "emacs"); in histedit()
152 el_source(el, NULL); in histedit()
156 if (el) { /* no editing if not interactive */ in histedit()
157 el_end(el); in histedit()
158 el = NULL; in histedit()
186 if (el != NULL && term != NULL) in setterm()
187 if (el_set(el, EL_TERMINAL, term) != 0) { in setterm()
202 if (el != NULL) {
203 if (el_source(el, argv[1])) {