Lines Matching refs:el
68 EditLine *el; /* editline cookie */ variable
100 if (editing && !el && isatty(0)) { /* && isatty(2) ??? */ in histedit()
120 el = el_init(arg0, el_in, el_out, el_err); in histedit()
121 if (el != NULL) { in histedit()
123 el_set(el, EL_HIST, history, hist); in histedit()
124 el_set(el, EL_PROMPT, getprompt); in histedit()
125 el_set(el, EL_ADDFN, "sh-complete", in histedit()
133 } else if (!editing && el) { in histedit()
135 el_end(el); in histedit()
136 el = NULL; in histedit()
139 if (el) { in histedit()
141 el_set(el, EL_EDITOR, "vi"); in histedit()
143 el_set(el, EL_EDITOR, "emacs"); in histedit()
144 el_set(el, EL_BIND, "^R", "em-inc-search-prev", NULL); in histedit()
146 el_set(el, EL_BIND, "^I", "sh-complete", NULL); in histedit()
147 el_source(el, NULL); in histedit()
151 if (el) { /* no editing if not interactive */ in histedit()
152 el_end(el); in histedit()
153 el = NULL; in histedit()
183 if (rootshell && el != NULL && term != NULL) in setterm()
184 el_set(el, EL_TERMINAL, term); in setterm()
483 if (el == NULL) in bindcmd()
492 el_get(el, EL_GETFP, 1, &old); in bindcmd()
493 el_set(el, EL_SETFP, 1, out); in bindcmd()
495 ret = el_parse(el, argc, __DECONST(const char **, argv)); in bindcmd()
497 el_set(el, EL_SETFP, 1, old); in bindcmd()