pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 'bruce@momjian.us' <bruce@momjian.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
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 13:37:41 -0500
Message-ID: <20141205183741.GA30624@momjian.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (27+ messages)  latest in thread

Message-ID: <20141205183741.GA30624@momjian.us>
Permalink:  ../20141205183741.GA30624@momjian.us/
Also on:    postgresql.org/message-id/20141205183741.GA30624@momjian.us

 · 

reply

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, alvherre@2ndquadrant.com, 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: <20141205183741.GA30624@momjian.us>
  References: <26947.1417573493@sss.pgh.pa.us> <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local> <20141205182648.GA4891@momjian.us> <20141205183343.GF1768@alvh.no-ip.org> <20141205183741.GA30624@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