Re: BUG #2565: pg tool doesn't detect window size changes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "PFudd" <kernel(at)pkts(dot)ca>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2565: pg tool doesn't detect window size changes
Date: 2006-08-09 02:03:21
Message-ID: 14717.1155089001@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"PFudd" <kernel(at)pkts(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-08-09 02:05:43 Re: BUG #2568: Vacuum locks tables and do nothing
Previous Message Ralf S. Engelschall 2006-08-08 19:32:43 Re: [BUGS] Patch to allow C extension modules to initialize/finish