diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sftp.c | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -11,6 +11,9 @@ | |||
11 | more often and exit with a non zero code if asked to find a hostname | 11 | more often and exit with a non zero code if asked to find a hostname |
12 | in a known_hosts file and it wasn't there; | 12 | in a known_hosts file and it wasn't there; |
13 | originally from reyk@, ok djm | 13 | originally from reyk@, ok djm |
14 | - djm@cvs.openbsd.org 2013/08/31 00:13:54 | ||
15 | [sftp.c] | ||
16 | make ^w match ksh behaviour (delete previous word instead of entire line) | ||
14 | 17 | ||
15 | 20130828 | 18 | 20130828 |
16 | - (djm) [openbsd-compat/bsd-snprintf.c] teach our local snprintf code the | 19 | - (djm) [openbsd-compat/bsd-snprintf.c] teach our local snprintf code the |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.154 2013/08/09 03:56:42 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.155 2013/08/31 00:13:54 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -2013,6 +2013,8 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2) | |||
2013 | el_set(el, EL_BIND, "\\e[5C", "em-next-word", NULL); | 2013 | el_set(el, EL_BIND, "\\e[5C", "em-next-word", NULL); |
2014 | el_set(el, EL_BIND, "\\e[1;5D", "ed-prev-word", NULL); | 2014 | el_set(el, EL_BIND, "\\e[1;5D", "ed-prev-word", NULL); |
2015 | el_set(el, EL_BIND, "\\e\\e[D", "ed-prev-word", NULL); | 2015 | el_set(el, EL_BIND, "\\e\\e[D", "ed-prev-word", NULL); |
2016 | /* make ^w match ksh behaviour */ | ||
2017 | el_set(el, EL_BIND, "^w", "ed-delete-prev-word", NULL); | ||
2016 | } | 2018 | } |
2017 | #endif /* USE_LIBEDIT */ | 2019 | #endif /* USE_LIBEDIT */ |
2018 | 2020 | ||