delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/13/09:44:46

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT gmail DOT com>
To: <cygwin AT cygwin DOT 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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019