From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Merlin Moncure <mmoncure(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: fix for readline terminal size problems when window is resized with open pager |
Date: | 2015-12-14 20:50:11 |
Message-ID: | 5862.1450126211@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> Tom Lane wrote:
>> Quick followup: rl_resize_terminal() exists in GNU readline at least as
>> far back as 4.0 (released Feb 1999). However, it doesn't seem to be there
>> at all in libedit; I don't see it in OS X Yosemite's headers, anyway.
>> So we'd need a configure test for this.
> In libedit (NetBSD's at least) there is el_resize() which seems to do
> the same thing.
Hmm. I see this in OS X's histedit.h:
void el_resize(EditLine *);
but it appears that this is part of a completely separate API with
essentially nothing in common with GNU readline. Not sure if we have
the motivation to try to support that API in parallel with readline's.
I sure don't.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2015-12-14 20:53:44 | Re: pgbench stats per script & other stuff |
Previous Message | Alvaro Herrera | 2015-12-14 20:37:07 | Re: fix for readline terminal size problems when window is resized with open pager |