Re: \l of psql 8.4 looks ... unreadable on 80char default

From: Harald Armin Massa <haraldarminmassa(at)gmail(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, General Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: \l of psql 8.4 looks ... unreadable on 80char default
Date: 2009-02-19 15:42:57
Message-ID: 7be3f35d0902190742u51b8509ctabebc83bdc4359b5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gregory,

>> $COLUMNS was not set at all ... guess that is a usual >environment
>> variable on bash. Setting it to 80 works.
>
> COLUMNS wasn't set and \pset columns wasn't set? What environment were you
> running this psql command in? Was the output redirected anywhere with \o or
> with > on the commandline?

Environment: cmd.exe within Windows 7 Beta 64bit.
(should be quite similar to Vista & XP)

And I did not redirect anything ... Just started a default cmd.exe, to
paste it into the email I used "select" and "copy" from the
system-menu of that window.

(this "\l" is just my "ritual" after installing PostgreSQL, to see
that PostgreSQL is installed and the installer accepted my wish for
UTF-8)

> We had a long argument about how this should work a while back so I suspect
> people aren't psyched about reopening it, but while I don't think the current
> logic is right I don't think wrapping to 80 columns when your terminal is
> wider is one of the current broken cases. It tends to fail in the opposite
> direction of randomly not wrapping at all so it's kind of surprising to see
> your experience.

It did not wrap at all, so that "randomly not wrapping at all" was my
kind of failure, wasn't it?

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
EuroPython 2009 will take place in Birmingham - Stay tuned!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Armin Massa 2009-02-19 15:48:33 psql: not enogh memory when trying to use utf8 on windows
Previous Message Craig Ringer 2009-02-19 15:41:53 Re: UPDATE