summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sftp.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 67ea28041..b17401d61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1520130828 1820130828
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
diff --git a/sftp.c b/sftp.c
index e21144064..f7b488ae5 100644
--- a/sftp.c
+++ b/sftp.c
@@ -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