version 1.153, 2013/08/09 03:37:25 |
version 1.154, 2013/08/09 03:56:42 |
|
|
complete_ctx.remote_pathp = &remote_path; |
complete_ctx.remote_pathp = &remote_path; |
el_set(el, EL_CLIENTDATA, (void*)&complete_ctx); |
el_set(el, EL_CLIENTDATA, (void*)&complete_ctx); |
el_set(el, EL_BIND, "^I", "ftp-complete", NULL); |
el_set(el, EL_BIND, "^I", "ftp-complete", NULL); |
|
/* enable ctrl-left-arrow and ctrl-right-arrow */ |
|
el_set(el, EL_BIND, "\\e[1;5C", "em-next-word", NULL); |
|
el_set(el, EL_BIND, "\\e[5C", "em-next-word", NULL); |
|
el_set(el, EL_BIND, "\\e[1;5D", "ed-prev-word", NULL); |
|
el_set(el, EL_BIND, "\\e\\e[D", "ed-prev-word", NULL); |
} |
} |
|
|
remote_path = do_realpath(conn, "."); |
remote_path = do_realpath(conn, "."); |