Lines Matching defs:el
1557 prompt(EditLine *el)
1636 complete_cmd_parse(EditLine *el, char *cmd, int lastarg, char quote,
1686 if (el_insertstr(el, tmp + cmdlen) == -1)
1688 lf = el_line(el);
1697 if (y > 0 && el_insertstr(el, argterm) == -1)
1727 complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path,
1819 if (el_insertstr(el, ins) == -1)
1826 if (el_insertstr(el, ins + 1) == -1)
1833 lf = el_line(el);
1842 if (i > 0 && el_insertstr(el, ins) == -1)
1854 complete(EditLine *el, int ch)
1862 lf = el_line(el);
1863 if (el_get(el, EL_CLIENTDATA, (void**)&complete_ctx) != 0)
1890 complete_cmd_parse(el, NULL, argc == carg, '\0', 1);
1894 if (complete_cmd_parse(el, argv[0], argc == carg,
1906 complete_match(el, complete_ctx->conn,
1924 EditLine *el = NULL;
1932 if ((el = el_init(__progname, stdin, stdout, stderr)) == NULL)
1937 el_set(el, EL_HIST, history, hl);
1939 el_set(el, EL_PROMPT, prompt);
1940 el_set(el, EL_EDITOR, "emacs");
1941 el_set(el, EL_TERMINAL, NULL);
1942 el_set(el, EL_SIGNAL, 1);
1943 el_source(el, NULL);
1946 el_set(el, EL_ADDFN, "ftp-complete",
1950 el_set(el, EL_CLIENTDATA, (void*)&complete_ctx);
1951 el_set(el, EL_BIND, "^I", "ftp-complete", NULL);
2000 if (el == NULL) {
2019 if ((line = el_gets(el, &count)) == NULL ||
2049 if (el != NULL)
2050 el_end(el);