Home | History | Annotate | Download | only in sh

Lines Matching refs:el

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