X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=btO
	KDVz6FwO+VDLRQfFSXkIQUQ8erDdsXYV9RYxB9vVMeHiZrrazXjLBKSCP7CIt48e
	I0GEAf4bMVJAjKsDEWPk4SzskiaWNAy6/ObtHjdymQ3piAhhEr5ylRUamJOYmSR3
	U+Q/NaQXAm2aUmc8mEclCSdbk7FGxaMqSuVVwuFc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=ouJ2wMFmK
	sbSbdyRCE97qL2TIWU=; b=x5DCuQTVQ1/KCgIcKqPS5kSISLiZx87hXFu/JUtS/
	aEKyZ7ZMZHLgZB0vkbArhV5rV0ADpEdA16GzPb0Q40zS0WcK6P5Ke/LNVnDO42/F
	pwodjF97DHm7ej4XVAQZkJ89grC3q4nxW6lcyP4eUx8MUMYEoVi+ZUKifq5diW5E
	Rw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f178.google.com
X-Received: by 10.50.73.136 with SMTP id l8mr21338857igv.5.1421160257396;        Tue, 13 Jan 2015 06:44:17 -0800 (PST)
From: "cyg Simple" <cygsimple@gmail.com>
To: <cygwin@cygwin.com>
Subject: RE: asqlcmd hangs in cygwin
Date: Tue, 13 Jan 2015 09:44:28 -0500
Message-ID: <051f01d02f3f$71743270$545c9750$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

> -----Original Message-----
> From: Larry Hall (Cygwin)
> 
> On 01/12/2015 05:14 PM, Marco Atzeri wrote:
> > On 1/12/2015 10:05 PM, ravi r wrote:
> >> The asqlcmd part of Advantage Database installation when invoked in
> >> c:\windows\system32\cmd.exe with no arguments displays a prompt as
> >> expected:
> >>      c:\Program Files (x86)\Advantage 11.10\ARC>asqlcmd
> >>      asqlcmd -? for usage information.
> >>      :quit to exit.
> >>      :help for available commands.
> >>      asqlcmd>
> >>
> >> The same command when invoked from cygwin hangs forever:
> >>
> >>      $ type asqlcmd
> >>      asqlcmd is hashed (/cygdrive/c/Program FIles (x86)/Advantage
> >> 11.10/ARC/asqlcmd)
> >>
> >>      $ asqlcmd
> >>
> >>
> >
> > https://code.google.com/p/mintty/issues/detail?id=56
> 
> The common work-around for this issue is to use cmd.exe as the console and
> then run whatever shell you want to run.  This limits Linux-like terminal
> emulation but avoids Windows console-dependent behaviour, which is what
> asqlcmd is looking for.
  
Or in other words, the asqlcmd native executable cannot decipher the PTY
emulation within Cygwin so using mintty or rxvt will not work with the
native program  expecting a terminal.  Using cmd.exe instead of mintty when
executing native terminal commands is the only method that works.  I start
bash directly instead of using mintty in my desktop shortcut always using
the Windows console terminal with bash.

--
cyg Simple


--
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

