Re: psql ctrl+f skips displaying of one record and displays skipping one line

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql ctrl+f skips displaying of one record and displays skipping one line
Date: 2019-07-17 04:35:05
Message-ID: 2943.1563338105@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Munro <thomas(dot)munro(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-07-17 04:39:13 Re: A little report on informal commit tag usage
Previous Message Gareth Palmer 2019-07-17 04:30:02 [PATCH] Implement INSERT SET syntax