Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xwxap-0005hP-IR for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 18:27:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xwxao-0004cB-Gd for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Dec 2014 18:27:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xwxan-0004c5-Ro for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 18:27:01 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xwxag-0001n3-4T for pgsql-bugs@postgresql.org; Fri, 05 Dec 2014 18:27:00 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Xwxaa-0007Im-Es; Fri, 05 Dec 2014 13:26:48 -0500 Date: Fri, 5 Dec 2014 13:26:48 -0500 From: "'bruce@momjian.us'" To: Ed Avis Cc: "'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: <20141205182648.GA4891@momjian.us> References: <26947.1417573493@sss.pgh.pa.us> <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7E039918541B4C4183BFDB8F015C74302E42C6F6@WCL-EXCH02.wcl.local> 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 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 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