postgresql - Set less as pager in psql -
I can not set This is my environment: I get: kbd> The display of this line ( This paging can be closed in the In the context of displaying query results, less as a pager in psql.
~ / .psqlrc Contents:
Set the HISTSIZE \ PROMPT1 set on the
# \ setenv PAGER short \ x auto \ timing \ set \ VERBOSITY verbose \ pset null 'NULL' \ pset pager '(% n @% M:% & gt;) [% / ] & Gt; '\ Set PROMPT2'% [% 033 [8m%] (% n @% M:% & gt;) [% /] & gt; [% 033 [0m%]% ''
env | Grep PAGER << code>:
pager = less
table another_table table another_table ... - more -
- more - ) and the tab-completion of the forward-only scrolling capability comes from the internal page of
readline The library, as one out Unlike Prishtr.
psql This libraries handle the UI-side of tab-completion.
.inputrc set page in , but it will not be replaced by an external program, less Not less than the current version of GNU readline.
PAGER environment variable usually works as a document.
Comments
Post a Comment