Re: use of <END> in psql

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Dianne Yumul <dianne(at)wellsgaming(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: use of <END> in psql
Date: 2006-03-21 18:43:36
Message-ID: 20060321184336.GK15742@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Mar 20, 2006 at 10:03:28AM -0800, Dianne Yumul wrote:
> On Mar 18, 2006, at 6:15 PM, Bruce Momjian wrote:
>
> >Luis P. Mendes wrote:
> >>When I connect to a database via psql and do a select * from table; I
> >>get the first page of results, considering \pset pager is on.
> >>
> >>In Debian, I can press the <end> key to go directly to the last
> >>results
> >>or I can use <page up> or <page down> to move across the results.
> >>
> >>In the Slackware system, I can't do that. Can someone explain how to
> >>activate this function?
> >
> >Sounds like the PAGER is set differently on the two systems.
>
> I have the same issue too. I can only use the space bar to go down
> the results, page up and down keys do not work and neither does the
> end key.
>
> I have Postgresql 8.0.6, FC 4.

This is almost certainly not a PostgreSQL issue. Either the PAGER
environment variable is set differently, or there's some issue with
less/more/whatever you're using.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-21 18:49:15 Re: PostgreSQL 8.3.1 on FreeBSD 6.0 - accumulation of processes
Previous Message Ben K. 2006-03-21 16:39:28 Re: encoding question