Re: BUG #2565: pg tool doesn't detect window size changes - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2565: pg tool doesn't detect window size changes
Date
Msg-id 14717.1155089001@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2565: pg tool doesn't detect window size changes  ("PFudd" <kernel@pkts.ca>)
List pgsql-bugs
"PFudd" <kernel@pkts.ca> writes:
> If you open a terminal window in linux (xterm, rxvt, whatever; I'm using
> unicode rxvt), and start pg, you can use it with no problem.  However, if
> you change the window size while you're in pg, the line wrapping of the
> command line messes up.  Other programs work correctly (see 'vim').

This gripe should be directed to the authors of the readline library.

> On a related note, when the results of a select are being displayed on the
> screen, showing a page at a time doesn't work right if any rows are longer
> than the width of the screen; the first lines scroll off the top.  If pg
> didn't know the width of the page, this would be acceptable, but as the
> command line shows, it *does* know, at least when the program starts.

... and this one to the authors of whatever pager you are using.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Jaroslav Prodelal"
Date:
Subject: BUG #2568: Vacuum locks tables and do nothing
Next
From: Tom Lane
Date:
Subject: Re: BUG #2568: Vacuum locks tables and do nothing