From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18938 invoked by alias); 11 Aug 2010 16:23:14 -0000 Received: (qmail 18929 invoked by uid 22791); 11 Aug 2010 16:23:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from s0-ott-xsmtp4.nrcan.gc.ca (HELO S0-OTT-XSMTP4.nrn.nrcan.gc.ca) (132.156.37.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Aug 2010 16:23:07 +0000 Received: from S0-OTT-X3.nrn.nrcan.gc.ca ([132.156.36.207]) by S0-OTT-XSMTP4.nrn.nrcan.gc.ca with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Aug 2010 12:23:05 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Cannot run psql under Cygwin Date: Wed, 11 Aug 2010 16:23:00 -0000 Message-ID: <8C16DEDEF6DE8B418A724B298297A53003F14FCA@S0-OTT-X3.nrn.nrcan.gc.ca> From: "Clement, Sebastien" To: Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00257.txt.bz2 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=E9bastien ------ 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 run 'psql' from there. See the 'tty' option for the CYGWIN environment variable in the Users Guide for more details: -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple