Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal) - Mailing list pgsql-bugs

From 'bruce@momjian.us'
Subject Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Date
Msg-id 20141205183741.GA30624@momjian.us
Whole thread Raw
In response to Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
On Fri, Dec  5, 2014 at 03:33:43PM -0300, Alvaro Herrera wrote:
> 'bruce@momjian.us' wrote:
> > On Wed, Dec 3, 2014 at 03:48:45AM +0000, Ed Avis wrote:
> > > >A truly dumb terminal would be where you'd need a pager the most
> > >
> > > That is true but how many are using teletypes these days?  If the
> > > terminal type is 'dumb' that indicates for sure that some other
> > > program is processing the output. Nobody is running psql inside a
> > > terminal which is truly bereft of cursor movement commands - except
> > > perhaps on Windows, which can be detected separately.
> >
> > Many shell scripts run from cron have a 'dumb' terminal value.
>
> Surely you don't want pagers running there either ...

Well, that's an interesting point.  Does anyone object to turning off
'pager' for a 'dumb' terminal?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Next
From: Tom Lane
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)