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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=R+M5PMIQpQMaqKtj GMcQMS62x29WS+DaUF/t53hLCBYHIQq3RtfO/vvhHrVBQTOnE2zOZBg80TA69q7z rkt1CsceXuCuIxOJuFWJXX0IIsnArgVqPchwXoreGNcokorXbtssPaoC1N9oSoEY azf+64INlwh/ssQs8TFTVPkT7Io= 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=QznjcbiaJL4O5b497GVNtV Koh0Q=; b=yHKRGRzDMvOz3O4q2XQaheWjH+NMqiVH1tStbFEUcrNzZS3shrj9zR J4llmP7ayQnLeBca0dsrLHLqzTG1YSaJhSTRQ6CcC/Hi19w0FzjKeAiyg3BsuYo8 WrpBbjv43xFuezRRdHIgkldxetFftNR4UwaBSfp2l2R6H4uAvxt6M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173019pub.verizon.net X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=b6gFOWC0 c=1 sm=1 tr=0 a=toTMxtHQF+05ooui8kuJQw==:117 a=vP6ySPhpAh4A:10 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=1XWaLZrsAAAA:8 a=7hC5J-QnzCSjgx3PzXIA:9 a=pILNOxqGKmIA:10 Message-id: <54B44C99.6080407@cygwin.com> Date: Mon, 12 Jan 2015 17:37:13 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Fwd: asqlcmd hangs in cygwin References: <54B4472A DOT 1060203 AT gmail DOT com> In-reply-to: <54B4472A.1060203@gmail.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit 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. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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