Using native win32 psql.exe using alternative cygwin terminal - Mailing list pgsql-general

From Richard van den Berg
Subject Using native win32 psql.exe using alternative cygwin terminal
Date
Msg-id 436B3CFE.5090408@trust-factory.com
Whole thread Raw
Responses Re: Using native win32 psql.exe using alternative cygwin terminal
List pgsql-general
I just installed postgresql 8.1-rc1 on a Windows 2003 machine. Since I
like psql a lot, and hate the cmd.exe terminal, I use puttycyg instead.

When I tried using psql.exe in a puttycyg terminal, after entering my
password for the database, the screen just "hangs". When I do the same
from a cygwin cmd.exe terminal, everything works. Another detail: the
password using cmd.exe is hidden, using puttycyg it is shown.

The exact same behaviour is shown when using the OpenSSH daemon (under
cygwin) and logging in to it from remote (putty client or OpenSSH client).

It looks like there is a problem with the interactive mode. When I run:

psql -d postgres -c 'select * from pg_tables limit 1;'

the output is shown just fine. I tried different TERM settings, but they
made no difference.

Is there something I can do to make this combination work? I'd gladly do
more tests..

Sincerely,

--
Richard van den Berg, CISSP
-------------------------------------------
Trust Factory B.V. |     www.dna-portal.net
Bazarstraat 44a    |  www.trust-factory.com
2518AK The Hague   |  Phone: +31 70 3620684
The Netherlands    |  Fax  : +31 70 3603009
-------------------------------------------

pgsql-general by date:

Previous
From: "Peter Filipov"
Date:
Subject: records to text representation
Next
From: Jerry Sievers
Date:
Subject: Re: how to emit line number in a function?