From: | Ron St-Pierre <rstpierre(at)syscor(dot)com> |
---|---|
To: | CSN <cool_screen_name90001(at)yahoo(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: \s paging? |
Date: | 2004-03-26 16:51:26 |
Message-ID: | 40645F8E.1090402@syscor.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-03-26 17:21:59 | Re: Another date / time question |
Previous Message | Andrew Sullivan | 2004-03-26 16:50:34 | Re: Beginner Questions Please: Which To Go With ? |