Cannot run psql under Cygwin

2010-08-11 Thread Clement, Sebastien
When I try to run psql (eg. psql -U myusername -d mydb) from Cygwin, it freezes. When I run it from the DOS console, it works fine. Here are the versions on my system: Windows XP Pro 2002, Service Pack 3 Cygwin: CYGWIN_NT-5.1 W-QUE-A103212 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin

Re: Cannot run psql under Cygwin

2010-08-11 Thread Larry Hall (Cygwin)
On 8/11/2010 11:57 AM, Clement, Sebastien wrote: When I try to run psql (eg. psql -U myusername -d mydb) from Cygwin, it freezes. When I run it from the DOS console, it works fine. In that case, you need to run Cygwin's bash from a console (i.e. use 'cygwin.bat' as provided by 'setup.exe') and

Re: Cannot run psql under Cygwin

2010-08-11 Thread Clement, Sebastien
Okay, many thanks Larry. I forgot to mention I was using the MinTTY console. It works when I use the regular Cygwin console. I found that: http://cygwin.com/ml/cygwin/2009-10/msg00330.html Sébastien -- On 8/11/2010 11:57 AM, Clement, Sebastien wrote: When I try to run psql (eg.

Re: Cannot run psql under Cygwin

2010-08-11 Thread Steve Holden
This is running in a mintty console on a fairly recent (updated four days ago) Cygwin load and the standard Windows PostgreSQL server: shol...@lifeboy ~/Projects/PytDj/Pyteach/templates/training $ psql -h localhost -p 5432 -U django PyTeach Password for user django: Welcome to psql 8.2.11 (server