From: 'bruce@momjian.us' <bruce@momjian.us>
To: 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 13:26:48 -0500
Message-ID: <20141205182648.GA4891@momjian.us> (raw)
In-Reply-To: <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local>
References: <26947.1417573493@sss.pgh.pa.us>
<7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
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: 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: <20141205182648.GA4891@momjian.us>
References: <26947.1417573493@sss.pgh.pa.us> <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local> <20141205182648.GA4891@momjian.us>
* 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