Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwxlK-00062s-TH for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 18:37:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XwxlK-0006tC-D0 for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 18:37:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XwxlJ-0006qU-7g for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 18:37:53 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XwxlE-0001Ue-Ut for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 18:37:51 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Xwxl7-00082a-Na; Fri, 05 Dec 2014 13:37:41 -0500 Date: Fri, 5 Dec 2014 13:37:41 -0500 From: "'bruce@momjian.us'" To: Alvaro Herrera Cc: Ed Avis , "'tgl@sss.pgh.pa.us'" , "'pgsql-bugs@postgresql.org'" Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal) Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141205183343.GF1768@alvh.no-ip.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 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