Bruce Momjian wrote:
Hey, I can work with this idea. First, there really is no 'off' mode
for wrapped because that is aligned...
Well, come to think of it, wrapped is not really a new output format
in the sense of html or latex. It could build on aligned:
\pset format aligned
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sat, Apr 26, 2008 at 5:08 PM, Bryce Nesbitt
wrote:
Well, come to think of it, wrapped is not really a new output format in
the sense of html or latex. It could build on aligned:
\pset format aligned [autowrap|nowrap|nnn]
I agree that
Bruce Momjian wrote:
Hey, I can work with this idea. First, there really is no 'off' mode
for wrapped because that is aligned. What we could do is to have:
\pset format wrapped display
affect only output to the screen, using the screen width, and:
\pset format wrapped nnn
As the originator of the psql wraps at window width patch, I'd like to
set a matter or two straight:
The ioctl() function does not fail under ssh, contrary to the assertion
made several times. Nor does $COLUMNS remain static if the window size
changes. $COLUMNS is not a property of a bash,
Am Samstag, 26. April 2008 schrieb Bryce Nesbitt:
But that leaves a big hole: what does the setting in .psqlrc refer to?
Do we need separate controls in .psql?
\pset format_terminal wrap [auto|nnn|off]
\pset format_terminal html
\pset format_stream wrap [auto|nnn|off]
\pset
Bryce Nesbitt wrote:
But I agree it's not desirable to wrap file any sort of stream output,
by default, as that would break just about any script known to mankind.
Yet wrapping is a very user-friendly default for interactive terminals.
This is potentially an irreconcilable inconsistency.