Re: [PATCHES] configure.in patch for readline and curses.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rick Robino <rrobino(at)wavedivision(dot)com>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] configure.in patch for readline and curses.
Date: 2001-02-06 18:30:53
Message-ID: Pine.LNX.4.30.0102061925100.775-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Rick Robino writes:

> psql starts up with readline support turned on by default. If readline/curses
> is broken, this may show up at runtime as a pq_recvbuf error and a core dump.
> psql isn't obvious about the relationship to readline, creating a mystery for
> first-timers.
>
> Since it is readline, and it is on by default, just maybe that first-timer
> might reconfigure turning "luxuries" off and psql will work.

That looks like a rather unusual way to proceed.

> The alternative is them finding that obscure scrap of advice (not in
> doc/*) associating recvbuf errors with readline support.

The other alternative is fixing the underlying problem.

> I had this problem on a very typically setup Solaris but did not look for a
> way to build w/o readline.

Yes, we have had several reports that termcap and ncurses don't like each
other on Solaris. I'm going to alter configure to check for only one of
the two.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David C. Lane 2001-02-06 18:52:11 POSTGRESQL API ...
Previous Message Ross J. Reedstrom 2001-02-06 18:27:06 Re: OID from insert has extra letter

Browse pgsql-patches by date

  From Date Subject
Next Message Florent Guillaume 2001-02-06 21:21:15 Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
Previous Message Bruce Momjian 2001-02-06 18:05:06 Re: pgcrypto: wrong usage of PG_FREE_IF_COPY