Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)

From: "'bruce(at)momjian(dot)us'" <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Ed Avis <eda(at)waniasset(dot)com>, "'tgl(at)sss(dot)pgh(dot)pa(dot)us'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Date: 2014-12-05 18:37:41
Message-ID: 20141205183741.GA30624@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Dec 5, 2014 at 03:33:43PM -0300, Alvaro Herrera wrote:
> 'bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ed Avis 2014-12-05 18:37:47 Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Previous Message Alvaro Herrera 2014-12-05 18:33:43 Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)