|
@@ -109,6 +109,18 @@ class BindCmdInterpreter(Cmd):
|
|
|
else:
|
|
|
self.csv_file_dir = pwd.getpwnam(getpass.getuser()).pw_dir + \
|
|
|
os.sep + '.bind10' + os.sep
|
|
|
+ self._update_readline_word_boundary()
|
|
|
+
|
|
|
+ def _update_readline_word_boundary(self):
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ delims = readline.get_completer_delims( )
|
|
|
+ delims = delims.replace('-', '')
|
|
|
+ readline.set_completer_delims(delims)
|
|
|
|
|
|
def _get_session_id(self):
|
|
|
'''Generate one session id for the connection. '''
|
|
@@ -507,13 +519,11 @@ class BindCmdInterpreter(Cmd):
|
|
|
hints = []
|
|
|
|
|
|
self.hint = hints
|
|
|
-
|
|
|
|
|
|
if state < len(self.hint):
|
|
|
return self.hint[state]
|
|
|
else:
|
|
|
return None
|
|
|
-
|
|
|
|
|
|
def _get_module_startswith(self, text):
|
|
|
return [module
|