[Pythonmac-SIG] readline

Paul Berkowitz berkowit@silcom.com
Sat, 30 Nov 2002 19:18:25 -0800


On 11/30/02 6:53 PM, "Nicholas Riley" <njriley@uiuc.edu> wrote:

> You can link with the private readline.framework or (what I did) just
> compile readline from Fink and use that.
> 
> The idlefork (www.sourceforge.net/projects/idlefork) version of IDLE
> works fine under a framework build of Python 2.2.2, barring a couple
> of cosmetic issues.  Apply the attached patch to the latest CVS
> version of idlefork (fixes it to use pythonw and move the line/column
> numbers over to make room for the size box) and you should be all set.
> The changes aren't at all cleanly done but they work for me.

Thank you again, Nicholas. I'm afraid I'm stuck in Python 2.2 for the
moment: I will be wanting to include python -c commands in 'do shell script'
in an AppleScript Studio app, and I have to know that they will work the
same with the built-in Python on users' machines as in my own. I don't mind
requiring a particular OS version at the time I release the app (which won't
be for a good long while, so maybe we'll be up to OS 10.2 and Python 2.3 by
that point), but no special installations for users.

Now - what does "link with the private readline.framework" mean? Does
someone here know how to do that? Dan Wolfe mentioned something about
"installing readline 4.2 or 4.3". I'd like to do something that lets me use
readline without otherwise changing Python 2.2 for now, if that's possible.

May thanks for all you help.

-- 
Paul Berkowitz