pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Michael J. Baars <mjbaars1977.pgsql.hackers@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Password reset link / 'less' does not exit in psql version 13.4
Date: Mon, 25 Jul 2022 10:19:32 -0700
Message-ID: <00544060-3629-afa0-e805-7dac11e8c869@aklaver.com> (raw)
In-Reply-To: <CAMHx2RsXEX8wvBFHZZR3hu6CPh3aDw4YcWEOAjJAshcSoVO=Cg@mail.gmail.com>
References: <b9e8cdaa2c7567e11c14d776fa73b4dd7a21aca2.camel@gmail.com>
	<773bca25-dd09-7623-29be-559247c3fb3b@aklaver.com>
	<65b7c54e54fb1c5595cf4c0935972123f656ac80.camel@gmail.com>
	<7a7c2b51-08dc-da9e-1efb-9178ac105ea6@aklaver.com>
	<c5da9bd71a0d8d03658b4c84c70340daab083c25.camel@gmail.com>
	<fb609d50-453c-c275-5a68-004fce1d5440@aklaver.com>
	<CAMHx2RsXEX8wvBFHZZR3hu6CPh3aDw4YcWEOAjJAshcSoVO=Cg@mail.gmail.com>

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.klaver@aklaver.com





view thread (11+ messages)  latest in thread

Message-ID: <00544060-3629-afa0-e805-7dac11e8c869@aklaver.com>
Permalink:  ../00544060-3629-afa0-e805-7dac11e8c869@aklaver.com/
Also on:    postgresql.org/message-id/00544060-3629-afa0-e805-7dac11e8c869@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, mjbaars1977.pgsql.hackers@gmail.com
  Subject: Re: Password reset link / 'less' does not exit in psql version 13.4
  In-Reply-To: <00544060-3629-afa0-e805-7dac11e8c869@aklaver.com>
  References: <b9e8cdaa2c7567e11c14d776fa73b4dd7a21aca2.camel@gmail.com> <773bca25-dd09-7623-29be-559247c3fb3b@aklaver.com> <65b7c54e54fb1c5595cf4c0935972123f656ac80.camel@gmail.com> <7a7c2b51-08dc-da9e-1efb-9178ac105ea6@aklaver.com> <c5da9bd71a0d8d03658b4c84c70340daab083c25.camel@gmail.com> <fb609d50-453c-c275-5a68-004fce1d5440@aklaver.com> <CAMHx2RsXEX8wvBFHZZR3hu6CPh3aDw4YcWEOAjJAshcSoVO=Cg@mail.gmail.com> <00544060-3629-afa0-e805-7dac11e8c869@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox