Re: readline problems

Magnus Lie Hetland <[email protected]> Sun, 29 Dec 2002 14:08:49 +0100
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
Guido van Rossum <[email protected]>:
[snip]
> Strange.  Modules/readline.c hasn't changed since late October.

Not that strange, really -- up until now, I've been using Python 2.2.1
(in which readline.c does not use the two API functions mentioned),
and at times experimented with 2.3a0, but with no luck on readline.

> More likely, your platform has downgraded (or it never worked, and
> you've never noticed before).

The 2.2.1 version still works without a hitch.

> Maybe you should upgrade to a newer version of readline?

That may be reasonable. I don't have direct control over the machine
in question, but I have requested such an upgrade. I assume things
will work just fine after that.

Just a thought: Could this use of these two API functions (or whatever
they are), rl_prep_terminal and rl_completion_append_characters, be
made optional as part of the compilation process? Autotools could
perhaps be able to figure out whether they are available? Just in the
interest of cross-platform compatibility and the like... (Although
supporting an ancient readline may not be that interesting, I suppose
:)

[snip]
> I suggest upgrading to version 2.2 or 4.2 (both are in common use I
> believe; 4.2 is the latests).

OK. Thanks for the help.

> --Guido van Rossum (home page: http://www.python.org/~guido/)

-- 
Magnus Lie Hetland
http://hetland.org