Re: \s paging?
От | Ron St-Pierre |
---|---|
Тема | Re: \s paging? |
Дата | |
Msg-id | 40645F8E.1090402@syscor.com обсуждение исходный текст |
Ответ на | \s paging? (CSN <cool_screen_name90001@yahoo.com>) |
Список | 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 по дате отправления: