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

From PFudd
Subject BUG #2565: pg tool doesn't detect window size changes
Date
Msg-id 200608072140.k77Lex6b032517@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2565: pg tool doesn't detect window size changes
Re: BUG #2565: pg tool doesn't detect window size changes
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2565
Logged by:          PFudd
Email address:      kernel@pkts.ca
PostgreSQL version: 8.1.4
Operating system:   Fedora Core 5
Description:        pg tool doesn't detect window size changes
Details:

This is a minor bug, but it would be nice to have fixed.

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').

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.

Thanks for a great system!

pgsql-bugs by date:

Previous
From: gson@gson.org (Andreas Gustafsson)
Date:
Subject: Re: Restoring 7.4 "pg_dumpall -o" output in 8.1 fails
Next
From: "RajashreeS"
Date:
Subject: BUG #2566: No Buffer Space available(0X00002747/10055)