Re: Proposed patch - psql wraps at window width

From: Bryce Nesbitt <bryce2(at)obviously(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>
Subject: Re: Proposed patch - psql wraps at window width
Date: 2008-04-18 03:55:52
Message-ID: 48081BC8.90803@obviously.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:871w53bzsi(dot)fsf(at)oxford(dot)xeocode(dot)com" type="cite">
<blockquote type="cite">
<pre wrap="">It would be a spectacularly awful idea for this patch to affect the
output to a file at all.
</pre>
</blockquote>
<pre wrap=""><!---->.....
It sucks to run a program, decide you want to capture that output and find you
get something else. It *really* sucks to find there's just no way to get the
same output short of heroic efforts.</pre>
</blockquote>
I agree with Gregory here: I may want to capture either the wrapped or
unwrapped output to a file or a pipe.<br>
Perhaps the enabling flag for this feature should take a parameter,
which is the number of columns to wrap to.<br>
<br>
I was not bold enough to propose that wrapping be the default behavior
for the terminal.<br>
And there's no way I'd want wrapping as the default for pipe output.<br>
<br>
                         -Bryce<br>
<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 1.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bryce Nesbitt 2008-04-18 04:11:12 Re: Proposed patch - psql wraps at window width
Previous Message Alvaro Herrera 2008-04-18 03:41:41 Re: Lessons from commit fest

Browse pgsql-patches by date

  From Date Subject
Next Message Bryce Nesbitt 2008-04-18 04:11:12 Re: Proposed patch - psql wraps at window width
Previous Message Gregory Stark 2008-04-18 03:35:41 Re: Proposed patch - psql wraps at window width