From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: 'bruce@momjian.us' <bruce@momjian.us>
Cc: Ed Avis <eda@waniasset.com>
Cc: 'tgl@sss.pgh.pa.us' <tgl@sss.pgh.pa.us>
Cc: 'pgsql-bugs@postgresql.org' <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Date: Fri, 5 Dec 2014 15:33:43 -0300
Message-ID: <20141205183343.GF1768@alvh.no-ip.org> (raw)
In-Reply-To: <20141205182648.GA4891@momjian.us>
References: <26947.1417573493@sss.pgh.pa.us>
<7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local>
<20141205182648.GA4891@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, bruce@momjian.us, eda@waniasset.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
In-Reply-To: <20141205183343.GF1768@alvh.no-ip.org>
References: <26947.1417573493@sss.pgh.pa.us> <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local> <20141205182648.GA4891@momjian.us> <20141205183343.GF1768@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox