Re: Password reset link / 'less' does not exit in psql version 13.4

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "Michael J(dot) Baars" <mjbaars1977(dot)pgsql(dot)hackers(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Password reset link / 'less' does not exit in psql version 13.4
Date: 2022-07-25 17:19:32
Message-ID: 00544060-3629-afa0-e805-7dac11e8c869@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/25/22 9:55 AM, Michael J. Baars wrote:
>
>

> So the issue is with Fedora not Postgres.
>
>
> No, it's psql. Setting PAGER to "more -e" solved the problem l, but I
> never had to before. There are no other variables affecting this
> behavior, so it must be psql internal default piping command that has
> changed.
>

Hmm, I don't see a -e option to 'more' I do see one for 'less'. I'm
guessing 'more' is symlinked to 'less'.

From here:

https://www.greenwoodsoftware.com/less/faq.html#dashe

"Normally, less doesn't quit until you type "q". You can make it quit as
soon as it reaches the end of the file by using the -E option. However,
many (but not all) people prefer to have less remain active until they
explicitly quit, because they might wish to back up and look at earlier
parts of the file again. "

I'm betting that between Fedora 35 and 36 the project changed the
configuration of `less` to follow the normal pattern.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bryn Llewellyn 2022-07-25 17:34:31 PL/pgSQL: « arr[j].a := v » works fine in PG Version 14.4, fails to compile in Version 11.2. Which version brought the fix?
Previous Message Michael J. Baars 2022-07-25 16:55:06 Re: Password reset link / 'less' does not exit in psql version 13.4