X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CA+sc5mn2k4F5MSuqOPgmkGW1WN3LVKB1CDREoXAr-5dQR+rAwQ@mail.gmail.com>
References: <CAKeUZfyjvJm08KveF4bVpWW7FORi5OHi8g_zH4rvJ2FPQFm9pQ@mail.gmail.com>	<CA+sc5mknGp1jFMJbWCD_rvNSZZN0kMw00GPkm3yMMixFSiDjeg@mail.gmail.com>	<CAKeUZfxUD5eu47j5+NLPu+ZXhYZr2iSzd6PyFca4RaP8jUY7pw@mail.gmail.com>	<CA+sc5mn2k4F5MSuqOPgmkGW1WN3LVKB1CDREoXAr-5dQR+rAwQ@mail.gmail.com>
Date: Thu, 21 Jun 2012 00:04:46 +0800
Message-ID: <CAKeUZfydOPTUCjxrRkHGp--R5mMV6UrnT4nR+Uzj263nNz+WVw@mail.gmail.com>
Subject: Re: Ask for help on running interactive cmd in Mintty!
From: Tian You <youtian001@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q5KG58w6016602

Here is the front part of the output, but I do not understand it very well.
Could you find any clue from it?

$ cygcheck.exe -v /bin/ssh.exe
C:\MyApp\bin\ssh.exe - os=4.0 img=1.0 sys=4.0
Warning: C:\MyApp\bin\cygcrypto-0.9.8.dll hides
C:\MyApp_old\bin\cygcrypto-0.9.8.dll
  C:\MyApp\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
    "cygcrypto-0.9.8.dll" v0.0 ts=2012/5/11 12:25
Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
    C:\MyApp\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
      "cygwin1.dll" v0.0 ts=2012/5/9 9:25
      C:\WINDOWS\system32\KERNEL32.dll - os=5.1 img=5.1 sys=4.0
        "KERNEL32.dll" v0.0 ts=2008/4/13 20:15
        C:\WINDOWS\system32\ntdll.dll - os=5.1 img=5.1 sys=4.10
          "ntdll.dll" v0.0 ts=2010/12/9 13:38
      C:\WINDOWS\system32\ntdll.dll (already done)
Warning: C:\MyApp\bin\cygz.dll hides C:\MyApp_old\bin\cygz.dll
    C:\MyApp\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
      "cygz.dll" v0.0 ts=2012/5/13 5:11
Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
      C:\MyApp\bin\cygwin1.dll (already done)
Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
      C:\MyApp\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
        "cyggcc_s-1.dll" v0.0 ts=2011/10/23 14:15
Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
        C:\MyApp\bin\cygwin1.dll (already done)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
    C:\MyApp\bin\cyggcc_s-1.dll (already done)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
  C:\MyApp\bin\cygwin1.dll (already done)
Warning: C:\MyApp\bin\cygz.dll hides C:\MyApp_old\bin\cygz.dll
  C:\MyApp\bin\cygz.dll (already done)
Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
  C:\MyApp\bin\cyggcc_s-1.dll (already done)
Warning: C:\MyApp\bin\cygssp-0.dll hides C:\MyApp_old\bin\cygssp-0.dll
  C:\MyApp\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
    "cygssp-0.dll" v0.0 ts=2011/10/23 14:33
Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
    C:\MyApp\bin\cygwin1.dll (already done)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
  C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\MyApp\bin\cygssp-0.dll hides C:\MyApp_old\bin\cygssp-0.dll
  C:\MyApp\bin\cygssp-0.dll (already done)
<snip>

On Wed, Jun 20, 2012 at 11:44 PM, Earnie Boyd
<earnie@users.sourceforge.net> wrote:
> http://cygwin.com/acronyms/#TOFU
>
> On Wed, Jun 20, 2012 at 11:07 AM, Tian You wrote:
>> I run the perl script in mintty.
>> If I run it in a Windows cmd.exe terminal, that works normally.
>> The ssh.exe is compiled in the Cygwin by myself.
>>
>
> This points even more to what I suspect, that you are running an
> ssh.exe that is "native" MSVCRT runtime instead of Cygwin runtime.
> What does ``cygcheck -v ssh'' tell you?
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
>
> --
> 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
>

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


