Re: fix for readline terminal size problems when window is resized with open pager

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix for readline terminal size problems when window is resized with open pager
Дата
Msg-id 5862.1450126211@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fix for readline terminal size problems when window is resized with open pager  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: fix for readline terminal size problems when window is resized with open pager  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: fix for readline terminal size problems when window is resized with open pager
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench stats per script & other stuff