On Tue, May 29, 2012 at 7:01 AM, chester c young <[email protected]> wrote: >> in psql in Ubuntu, when beginning with a smaller >> terminal, eg, 80 col wide, then expanding to a larger terminal, >> eg, 132 col wide, the readline editor in psql still >> treats like 80 cols, making it impossible to edit longer >> text. > > from dpkg --list: > > ii libreadline6 6.2-2ubuntu1 > GNU readline and history libraries, run-time libraries > ii readline-common 6.2-2ubuntu1 > GNU readline and history libraries, common files > ii postgresql-client-9.1 9.1.3-0ubuntu0.11.10 > front-end programs for PostgreSQL 9.1
On my Ubuntu 12.04, psql uses libedit instead of libreadline (not suprisingly): $ ldd /usr/lib/postgresql/9.1/bin/psql ... libedit.so.2 => /usr/lib/i386-linux-gnu/libedit.so.2 (0x0044e000) Does this answer your question? _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
