Re: less not found - Mailing list pgsql-novice

From Jason Earl
Subject Re: less not found
Date
Msg-id 873cy13i3r.fsf@npa01zz001.simplot.com
Whole thread Raw
In response to less not found  ("Juliet May" <jmay@speark.com>)
List pgsql-novice
"Juliet May" <jmay@speark.com> writes:

>  
>
> Does anyone know what the message less: not found mean? I get it when I try
> running a simple simple select on my table

less is a pager (a special program for displaying pages of text), and
as such it is a very common replacement for 'more.'  Yes, UNIX hackers
are all crazy.

psql uses a less as a pager if it is installed.  Apparently psql
thinks that less is installed but it isn't.

From the psql man page it would appear that your $PAGER variable is
getting set.  Try 'echo $PAGER' and see what it says.  Or better yet
just install less, it's quite a bit better than more, and very useful.

Jason

pgsql-novice by date:

Previous
From: "Juliet May"
Date:
Subject: less not found
Next
From: thiemo
Date:
Subject: Re: Failing tcp/ip connection