| От | Tom Lane |
|---|---|
| Тема | Re: psql screen size |
| Дата | |
| Msg-id | 28694.1225407649@sss.pgh.pa.us обсуждение |
| Ответ на | Re: psql screen size (Gregory Stark <stark@enterprisedb.com>) |
| Список | pgsql-general |
Gregory Stark <stark@enterprisedb.com> writes:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> I can confirm that when the pager is open, psql does not resize
>> properly. Maybe psql is ignoring signals while the pager is open, or
>> something.
> Hm, system() is documented to ignore SIGINT and SIGQUIT I wonder if it's
> (erroneously?) ignoring SIGWINCH as well.
So far as I can see, psql itself doesn't cache screen dimension info
anyplace --- it does an ioctl(TIOCGWINSZ) every time it wants the
numbers. So if there is a problem here, it's not our bug; must be
readline's fault.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера