[Patches] [ python-Patches-659834 ] Check for readline 2.2 features

noreply@sourceforge.net noreply@sourceforge.net
Sun, 29 Dec 2002 18:11:30 -0800


Patches item #659834, was opened at 2002-12-30 02:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Magnus Lie Hetland (mlh)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Check for readline 2.2 features

Initial Comment:
This patch adds a snippet to configure.in,
to check whether 
rl_completion_append_character
(which is used in Python 
2.3) is available.

rl_prep_terminal is assumed to co-exist 
with rl_completion_append_character.

It is assumed that 
HAVE_RL_COMPLETION_APPEND_CHARACTER will be 
used in readline.c to make it compatible with older versions of the 
readline library.

----------------------------------------------------------------------

>Comment By: Magnus Lie Hetland (mlh)
Date: 2002-12-30 03:11

Message:
Logged In: YES 
user_id=20535

New patch for configure.in (added a comment) and a patch
for 
readline.c that uses 
HAVE_RL_COMPLETION_APPEND_CHARACTER.

Tested 
on Gentoo Linux with new readline (the new completion
behaviour 
was preserved) and on Solaris with old readline (now compiles, with old 
completion behaviour in place).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470