| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
|---|---|
| To: | Gregory Stark <stark(at)enterprisedb(dot)com> | 
| Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, wstrzalka <wstrzalka(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org | 
| Subject: | Re: psql screen size | 
| Date: | 2008-10-30 23:00:49 | 
| Message-ID: | 28694.1225407649@sss.pgh.pa.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Alvaro Herrera <alvherre(at)commandprompt(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas | 2008-10-30 23:01:28 | Re: a LEFT JOIN problem | 
| Previous Message | Thomas | 2008-10-30 22:53:48 | Re: a LEFT JOIN problem |