[issue9033] cmd module tab misbehavior

2018-01-17 Thread Daniel
Daniel added the comment: I can confirm this behaviour for python 3.6.0 on Mac OS X 10.12.6 -- nosy: +boompig versions: +Python 3.6 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker __

[issue9033] cmd module tab misbehavior

2013-07-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: I no longer particularly like my patch, although something needs to be done. The easiest way forward is likely a (private) helper function in the readline module that can translate simple readline configuration strings to something that libedit understands an

[issue9033] cmd module tab misbehavior

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9033] cmd module tab misbehavior

2010-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: We either have to add some translation, or tweak parts of python: * the cmd module needs to learn how to configure libedit when the readline extension was linked to libedit * the rlcompleter documentation needs to be updated to do the same And that's just

[issue9033] cmd module tab misbehavior

2010-07-09 Thread Zvezdan Petkovic
Zvezdan Petkovic added the comment: Does a translation really need to be in Python? I use .editrc file in my home directory with this content: python:bind ^I rl_complete and everything works fine. -- nosy: +zvezdan ___ Python tracker

[issue9033] cmd module tab misbehavior

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch is a workaround for the issue, but isn't someone I'd want to commit without some serious cleanup. As I noted when support for linking with libedit was merged it would be better to add a translation layer that translates GNU readline config

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: Tested the patch and it works for trunk and python3.2 alpha. Without adding SDK flag with configure readline module failed to build. Python build finished, but the necessary bits to build these modules were not found: _gdbm ossaudiodevread

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: This (untested) patch should fix the issue for the cmd module: +++ Lib/cmd.py (working copy) @@ -112,7 +112,18 @@ import readline self.old_completer = readline.get_completer() readline.set_completer(self.com

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Some notes: The system python on OSX 10.5 and 10.6 is linked to libedit, not GNU readline, and doesn't seem to contain patches that convert stdlib usage of readline APIs to the correct way to bind keystrokes to action with libedit. This results in failure to

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Reaction from scot w.r.t. my questions: os x 10.5.8 python 2.5.1 /System/Library/Frameworks/Python.framework/Versions/2.5 came default with system i'm going to try activestate python 2.6 and see if that solves the problem. import readline does work

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: scott: * Which OSX version are you using? * Which Python are you using? - What is the value of sys.prefix? - How did you install it? * Does 'import readline' work? -- ___ Python tracker

[issue9033] cmd module tab misbehavior

2010-06-19 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9033] cmd module tab misbehavior

2010-06-19 Thread Shashwat Anand
Shashwat Anand added the comment: It seems readline module is not installed on your system. Quoting Ned Deily's comment from issue8365 which will most probably solve your issue: "Issue6877 (and subsequent fixes in Issue8066) allows the Python readline module to be built and linked with the OS

[issue9033] cmd module tab misbehavior

2010-06-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks for your report. Does the readline module work at all? 2.5 is unsupported now; can you test your code with 2.7, the next stable version? -- nosy: +merwok ___ Python tracker _

[issue9033] cmd module tab misbehavior

2010-06-19 Thread scott riccardelli
New submission from scott riccardelli : noticed that cmd module does not perform completion using TAB on a macintosh properly. instead, the TAB key just places several blank spaces and moves the cursor forward. what it should do is retrieve a list of possibilities for completing a command.