Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER
От | ilmari@ilmari.org (Dagfinn Ilmari Mannsåker) |
---|---|
Тема | Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER |
Дата | |
Msg-id | d8j7eyv8n4p.fsf@dalvik.ping.uio.no обсуждение исходный текст |
Ответ на | [HACKERS] proposal: psql: check env variable PSQL_PAGER (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER
|
Список | pgsql-hackers |
Pavel Stehule <pavel.stehule@gmail.com> writes: > Hi > > I wrote a special pager for psql. Surely, this pager is not good for paging > of man pages. So is not good to set it as global pager. We can introduce > new env variable PSQL_PAGER for this purpose. It can work similar like > PSQL_EDITOR variable. > > Notes, comments? There's already the option to put '\setenv PAGER ...' in .psqlrc, but I guess having it work like EDITOR makes sense for consistency, as well as not affecting commands spawned from psql via e.g. \!. - ilmari -- "The surreality of the universe tends towards a maximum" -- Skud's Law "Never formulate a law or axiom that you're not prepared to live withthe consequences of." --Skud's Meta-Law
В списке pgsql-hackers по дате отправления: