The branch, master has been updated
via 9893888 Change the libreadline word-break character set to only
space, TAB and NL so that we can attempt to do tab completion across
backslashes.
from 1bb46da s3:smb3: rename smbd_smb2_first_negprot and pass expected
seq_low
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9893888c5195ea6ebb7566a0277c6723aa4c81a1
Author: Richard Sharpe <[email protected]>
Date: Fri Sep 18 16:19:54 2015 -0700
Change the libreadline word-break character set to only space, TAB and NL
so that we can attempt to do tab completion across backslashes.
This turned out to be all that was needed to enable cd to handle multiple
directory levels.
Signed-off-by: Richard Sharpe <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
Autobuild-User(master): Jeremy Allison <[email protected]>
Autobuild-Date(master): Wed Oct 7 04:16:24 CEST 2015 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
libcli/smbreadline/smbreadline.c | 6 ++++++
1 file changed, 6 insertions(+)
Changeset truncated at 500 lines:
diff --git a/libcli/smbreadline/smbreadline.c b/libcli/smbreadline/smbreadline.c
index 80e10b0..c585554 100644
--- a/libcli/smbreadline/smbreadline.c
+++ b/libcli/smbreadline/smbreadline.c
@@ -137,6 +137,12 @@ char *smb_readline(const char *prompt, void
(*callback)(void),
works in all of them to date, but we get compiler
warnings in some. */
rl_attempted_completion_function = RL_COMPLETION_CAST
completion_fn;
+
+ /*
+ * We only want sensible characters as the word-break chars
+ * for the most part. This allows us to tab through a path.
+ */
+ rl_basic_word_break_characters = " \t\n";
}
#if HAVE_DECL_RL_EVENT_HOOK
--
Samba Shared Repository