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

From Alvaro Herrera
Subject Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Date
Msg-id 20141205183343.GF1768@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)  ("'bruce@momjian.us'" <bruce@momjian.us>)
Responses Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
List pgsql-bugs
'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 ...

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-bugs by date:

Previous
From: "'bruce@momjian.us'"
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Next
From: "'bruce@momjian.us'"
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)