CalDAVClientLibrary browser patch
I was wondering why I could not type a "b" to the command line. :-) I am not really familiar with readline, but maybe this is what we want. Index: src/browser/baseshell.py =================================================================== --- src/browser/baseshell.py (revision 2509) +++ src/browser/baseshell.py (working copy) @@ -62,7 +62,7 @@ map(readline.add_history, self.history) readline.set_completer(self.complete) - readline.parse_and_bind("bind ^I rl_complete") + readline.parse_and_bind("tab: complete") while True: cmdline = raw_input("%s > " % (self.prefix,))
Hi Frank, --On May 28, 2008 4:14:03 PM +0200 Frank Strauß <strauss@ibr.cs.tu-bs.de> wrote:
I was wondering why I could not type a "b" to the command line. :-) I am not really familiar with readline, but maybe this is what we want.
I believe there are differences between the linux and OS X readline implementations. In fact OS X uses editline not readline. We probably need to detect the OS in use and use the appropriate string descriptor for each one. -- Cyrus Daboo
participants (2)
-
Cyrus Daboo
-
Frank Strauß