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

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Munro <thomas(dot)munro(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:39:32
Message-ID: CALDaNm1kD5bJ2kbKefNTANKiNJpbUbn7=P1cr4TfpHJBgivsAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm able to get the same behaviour in centos as well.
Should we do anything to handle this in Postgres or any documentation
required?

On Wed, Jul 17, 2019 at 10:05 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> 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
>

--
Regards,
vignesh
Have a nice day

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-07-17 04:47:36 Re: psql ctrl+f skips displaying of one record and displays skipping one line
Previous Message Michael Paquier 2019-07-17 04:39:13 Re: A little report on informal commit tag usage