Re: \s paging? - Mailing list pgsql-general

From Ron St-Pierre
Subject Re: \s paging?
Date
Msg-id 40645F8E.1090402@syscor.com
Whole thread Raw
In response to \s paging?  (CSN <cool_screen_name90001@yahoo.com>)
List pgsql-general
CSN wrote:

>Is it possible to have "less"-type paging with psql's
>\s command? Or other ways like display the last 50
>commands backwards?
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Finance Tax Center - File online. File on time.
>http://taxes.yahoo.com/filing.html
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
>
Since no one has had a go at this, I'll try. The docs say that it is no
longer necessary to use the \s command because all commands are saved on
program termination. However, if you want to read/cycle through previous
commands while the app is still running you have to configure postres
with readline. Then you can just use your up/down arrows on your
keyboard to display previous commands. Also available in the few linux
distros I've used is the shift-pgUp/shift-pgDwn functionality in a
terminal to view input and output that's already scrolled off of the screen.

HTH
Ron


pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Beginner Questions Please: Which To Go With ?
Next
From: Andrew Sullivan
Date:
Subject: Re: Questions on production rollout