Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal) - Mailing list pgsql-bugs

From Ed Avis
Subject Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Date
Msg-id 7E039918541B4C4183BFDB8F015C74302E43107B@WCL-EXCH02.wcl.local
Whole thread Raw
In response to Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)  ("'bruce@momjian.us'" <bruce@momjian.us>)
List pgsql-bugs
>Many shell scripts run from cron have a 'dumb' terminal value.

And these scripts should output directly and not run a pager -- so matchin=
g what is being suggested for 'dumb'.=20

In fact they already run without pager because their stdout is not a tty. =
What is being discussed here is what psql should do when it is writing to =
a tty, so interactive in some sense, but with TERM=3Ddumb. Decades ago tha=
t would have meant a teleprinter terminal (or, perhaps, some ancient seria=
l terminal or Minix 1.0). Nowadays it means running inside emacs or some o=
ther management program, so there is no need to run a pager.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Next
From: Ed Avis
Date:
Subject: Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)