Re: psql ctrl+f skips displaying of one record and displays skipping one line - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql ctrl+f skips displaying of one record and displays skipping one line
Date
Msg-id 2943.1563338105@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql ctrl+f skips displaying of one record and displays skippingone line  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: psql ctrl+f skips displaying of one record and displays skippingone line  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Pretty sure this is coming from your system's pager.  You can see the
> same thing when you run this on a RHEL box:
> seq 1 10000 | more
> It skips a line each time you press ^F.

Yeah, duplicated on RHEL6.  It seems to behave the same as the documented
"s" command.  Not sure why it's not listed in the man page --- though
there's a disclaimer saying that the man page was basically
reverse-engineered, so maybe they just missed this synonym.

> Doesn't happen on FreeBSD or macOS though.

macOS's "more" is actually "less", so it's not surprising it's not
bug-compatible.  Can't say about FreeBSD.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Gareth Palmer
Date:
Subject: [PATCH] Implement INSERT SET syntax
Next
From: Michael Paquier
Date:
Subject: Re: A little report on informal commit tag usage