public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Ask for help on running interactive cmd in Mintty!
@ 2012-06-20  7:16 Tian You
  2012-06-20 11:14 ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Tian You @ 2012-06-20  7:16 UTC (permalink / raw)
  To: cygwin

Hi All

I'm running a perl program like this:

## script start ##
print "Please input:";
my $input = <STDIN>;
chomp $input;

system("ssh to a remote machine to run an command");
print "done\n";
## script done ##

But after I input something and press enter, I can not see the output
of the ssh command.
Only after I press any key, the output flushes out to the screen.
Is the output buffered? But why it flushed after I press any one key?

What is stranger is, if I remove the read STDIN line, and just run the
system("ssh ..."), lI can see the output of ssh command at once.
The script is like this:

## script start ##
#print "Please input:";
#my $input = <STDIN>;
#chomp $input;

system("ssh to a remote machine to run an command");
print "done\n";
## script done ##

Anyone can help on this?

Regards,
Tian

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20  7:16 Ask for help on running interactive cmd in Mintty! Tian You
@ 2012-06-20 11:14 ` Earnie Boyd
  2012-06-20 15:07   ` Tian You
  0 siblings, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-06-20 11:14 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 20, 2012 at 3:16 AM, Tian You wrote:
> Hi All
>
> I'm running a perl program like this:
>
> ## script start ##
> print "Please input:";
> my $input = <STDIN>;
> chomp $input;
>
> system("ssh to a remote machine to run an command");
> print "done\n";
> ## script done ##
>
> But after I input something and press enter, I can not see the output
> of the ssh command.
> Only after I press any key, the output flushes out to the screen.
> Is the output buffered? But why it flushed after I press any one key?
>

Are you starting in mintty or rxvt?  What happens if you don't use
either of those?  I suspect that your ssh isn't a Cygwin build and you
are seeing the effect of PTY as pipes emulation.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 11:14 ` Earnie Boyd
@ 2012-06-20 15:07   ` Tian You
  2012-06-20 15:44     ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Tian You @ 2012-06-20 15:07 UTC (permalink / raw)
  To: cygwin

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.

Any other ideas about it?
What make me confusing is that why it behavious differently if I get
input from STDIN or not.

On Wed, Jun 20, 2012 at 7:14 PM, Earnie Boyd
<earnie@users.sourceforge.net> wrote:
> On Wed, Jun 20, 2012 at 3:16 AM, Tian You wrote:
>> Hi All
>>
>> I'm running a perl program like this:
>>
>> ## script start ##
>> print "Please input:";
>> my $input = <STDIN>;
>> chomp $input;
>>
>> system("ssh to a remote machine to run an command");
>> print "done\n";
>> ## script done ##
>>
>> But after I input something and press enter, I can not see the output
>> of the ssh command.
>> Only after I press any key, the output flushes out to the screen.
>> Is the output buffered? But why it flushed after I press any one key?
>>
>
> Are you starting in mintty or rxvt?  What happens if you don't use
> either of those?  I suspect that your ssh isn't a Cygwin build and you
> are seeing the effect of PTY as pipes emulation.
>
> --
> 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 15:07   ` Tian You
@ 2012-06-20 15:44     ` Earnie Boyd
  2012-06-20 16:05       ` Tian You
  0 siblings, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-06-20 15:44 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 15:44     ` Earnie Boyd
@ 2012-06-20 16:05       ` Tian You
  2012-06-20 16:15         ` Tian You
  2012-06-20 17:45         ` Earnie Boyd
  0 siblings, 2 replies; 13+ messages in thread
From: Tian You @ 2012-06-20 16:05 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 16:05       ` Tian You
@ 2012-06-20 16:15         ` Tian You
  2012-06-20 17:45         ` Earnie Boyd
  1 sibling, 0 replies; 13+ messages in thread
From: Tian You @ 2012-06-20 16:15 UTC (permalink / raw)
  To: cygwin

Here is also some library info:

$ cygcheck.exe /bin/ssh.exe
C:\MyApp\bin\ssh.exe
  C:\MyApp\bin\cygcrypto-0.9.8.dll
    C:\MyApp\bin\cygwin1.dll
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
    C:\MyApp\bin\cygz.dll
      C:\MyApp\bin\cyggcc_s-1.dll
  C:\MyApp\bin\cygssp-0.dll

$ ldd.exe /bin/ssh.exe
        ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
        kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
        cygcrypto-0.9.8.dll => /usr/bin/cygcrypto-0.9.8.dll (0x6bc40000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
        cygz.dll => /usr/bin/cygz.dll (0x694c0000)
        cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6bf40000)
        cygssp-0.dll => /usr/bin/cygssp-0.dll (0x67280000)

On Thu, Jun 21, 2012 at 12:04 AM, Tian You <youtian001@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 16:05       ` Tian You
  2012-06-20 16:15         ` Tian You
@ 2012-06-20 17:45         ` Earnie Boyd
  2012-06-21  1:12           ` Tian You
  1 sibling, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-06-20 17:45 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 20, 2012 at 12:04 PM, Tian You wrote:
> 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

You gave an absolute path which isn't what I asked for.  I asked for

cygcheck.exe -v ssh

Stop top posting or I'll begin to just ignore 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-20 17:45         ` Earnie Boyd
@ 2012-06-21  1:12           ` Tian You
  2012-06-21 11:27             ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Tian You @ 2012-06-21  1:12 UTC (permalink / raw)
  To: cygwin

On Thu, Jun 21, 2012 at 1:45 AM, Earnie Boyd
<earnie@users.sourceforge.net> wrote:
> On Wed, Jun 20, 2012 at 12:04 PM, Tian You wrote:
>> 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
>
> You gave an absolute path which isn't what I asked for.  I asked for
>
> cygcheck.exe -v ssh

Here it is:

$ cygcheck.exe -v ssh
Found: C:\Cygwin\bin\ssh.exe
Found: C:\Cygwin\bin\ssh.exe
Found: C:\Cygwin_old\bin\ssh.exe
Warning: C:\Cygwin\bin\ssh.exe hides C:\Cygwin_old\bin\ssh.exe
C:\Cygwin\bin\ssh.exe - os=4.0 img=1.0 sys=4.0
Warning: C:\Cygwin\bin\cygssp-0.dll hides C:\Cygwin_old\bin\cygssp-0.dll
  C:\Cygwin\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:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
    C:\Cygwin\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)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
  C:\Cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
    "cygcrypto-1.0.0.dll" v0.0 ts=2012/5/11 11:33
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
    C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cygz.dll hides C:\Cygwin_old\bin\cygz.dll
    C:\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
      "cygz.dll" v0.0 ts=2012/5/13 5:11
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
      C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
      C:\Cygwin\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:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
        C:\Cygwin\bin\cygwin1.dll (already done)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
    C:\Cygwin\bin\cyggcc_s-1.dll (already done)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
  C:\Cygwin\bin\cygwin1.dll (already done)
  C:\Cygwin\bin\cyggssapi-3.dll - os=4.0 img=1.0 sys=4.0
    "cyggssapi-3.dll" v0.0 ts=2012/3/23 4:01
    C:\Cygwin\bin\cygheimntlm-0.dll - os=4.0 img=1.0 sys=4.0
      "cygheimntlm-0.dll" v0.0 ts=2012/3/23 3:58
      C:\Cygwin\bin\cygkrb5-26.dll - os=4.0 img=1.0 sys=4.0
        "cygkrb5-26.dll" v0.0 ts=2012/3/23 3:57
        C:\Cygwin\bin\cygasn1-8.dll - os=4.0 img=1.0 sys=4.0
          "cygasn1-8.dll" v0.0 ts=2012/3/23 3:53
          C:\Cygwin\bin\cygroken-18.dll - os=4.0 img=1.0 sys=4.0
            "cygroken-18.dll" v0.0 ts=2012/3/23 3:51
Warning: C:\Cygwin\bin\cygcrypt-0.dll hides C:\Cygwin_old\bin\cygcrypt-0.dll
            C:\Cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
              "cygcrypt-0.dll" v0.0 ts=2012/5/7 12:18
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
              C:\Cygwin\bin\cygwin1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
            C:\Cygwin\bin\cygwin1.dll (already done)
            C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\Cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0
            "cygcom_err-2.dll" v0.0 ts=2011/1/7 1:26
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
            C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
            C:\Cygwin\bin\cyggcc_s-1.dll (already done)
            C:\WINDOWS\system32\KERNEL32.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cygwind-0.dll - os=4.0 img=1.0 sys=4.0
          "cygwind-0.dll" v0.0 ts=2012/3/23 3:52
          C:\Cygwin\bin\cygcom_err-2.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cyghx509-5.dll - os=4.0 img=1.0 sys=4.0
          "cyghx509-5.dll" v0.0 ts=2012/3/23 3:54
          C:\Cygwin\bin\cygasn1-8.dll (already done)
          C:\Cygwin\bin\cygwind-0.dll (already done)
          C:\Cygwin\bin\cygcom_err-2.dll (already done)
          C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\Cygwin\bin\cygroken-18.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
        C:\Cygwin\bin\cyggcc_s-1.dll (already done)
        C:\Cygwin\bin\cygcom_err-2.dll (already done)
Warning: C:\Cygwin\bin\cygcrypt-0.dll hides C:\Cygwin_old\bin\cygcrypt-0.dll
        C:\Cygwin\bin\cygcrypt-0.dll (already done)
        C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
        C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cygintl-8.dll hides C:\Cygwin_old\bin\cygintl-8.dll
        C:\Cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
          "cygintl-8.dll" v0.0 ts=2011/10/16 6:38
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cygiconv-2.dll hides C:\Cygwin_old\bin\cygiconv-2.dll
          C:\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
            "cygiconv-2.dll" v0.0 ts=2011/10/16 18:01
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
            C:\Cygwin\bin\cygwin1.dll (already done)
            C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0
          "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
          C:\Cygwin\bin\cyggcc_s-1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cygheimbase-1.dll - os=4.0 img=1.0 sys=4.0
          "cygheimbase-1.dll" v0.0 ts=2012/3/23 3:51
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
          C:\Cygwin\bin\cygwin1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cygroken-18.dll (already done)
Warning: C:\Cygwin\bin\cyggcc_s-1.dll hides C:\Cygwin_old\bin\cyggcc_s-1.dll
      C:\Cygwin\bin\cyggcc_s-1.dll (already done)
      C:\Cygwin\bin\cygcom_err-2.dll (already done)
      C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
      C:\Cygwin\bin\cygwin1.dll (already done)
      C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\Cygwin\bin\cygroken-18.dll (already done)
    C:\Cygwin\bin\cygcom_err-2.dll (already done)
    C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
Warning: C:\Cygwin\bin\cygwin1.dll hides C:\Cygwin_old\bin\cygwin1.dll
    C:\Cygwin\bin\cygwin1.dll (already done)
    C:\WINDOWS\system32\KERNEL32.dll (already done)
    C:\Cygwin\bin\cygheimbase-1.dll (already done)
    C:\Cygwin\bin\cygasn1-8.dll (already done)
    C:\Cygwin\bin\cygkrb5-26.dll (already done)
    C:\Cygwin\bin\cygroken-18.dll (already done)
Warning: C:\Cygwin\bin\cygz.dll hides C:\Cygwin_old\bin\cygz.dll
  C:\Cygwin\bin\cygz.dll (already done)
  C:\WINDOWS\system32\KERNEL32.dll (already done)

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-21  1:12           ` Tian You
@ 2012-06-21 11:27             ` Earnie Boyd
  2012-06-25  0:50               ` Tian You
  0 siblings, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-06-21 11:27 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 20, 2012 at 9:11 PM, Tian You wrote:
> On Thu, Jun 21, 2012 at 1:45 AM, Earnie Boyd wrote:
>> On Wed, Jun 20, 2012 at 12:04 PM, Tian You wrote:
>>> 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
>>
>> You gave an absolute path which isn't what I asked for.  I asked for
>>
>> cygcheck.exe -v ssh
>
> Here it is:
>
> $ cygcheck.exe -v ssh
> Found: C:\Cygwin\bin\ssh.exe
> Found: C:\Cygwin\bin\ssh.exe
> Found: C:\Cygwin_old\bin\ssh.exe
> Warning: C:\Cygwin\bin\ssh.exe hides C:\Cygwin_old\bin\ssh.exe

If you remove Cygwin_old from your PATH do you experience the problem?

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-21 11:27             ` Earnie Boyd
@ 2012-06-25  0:50               ` Tian You
  2012-06-25 10:51                 ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Tian You @ 2012-06-25  0:50 UTC (permalink / raw)
  To: cygwin

>>> cygcheck.exe -v ssh
>>
>> Here it is:
>>
>> $ cygcheck.exe -v ssh
>> Found: C:\Cygwin\bin\ssh.exe
>> Found: C:\Cygwin\bin\ssh.exe
>> Found: C:\Cygwin_old\bin\ssh.exe
>> Warning: C:\Cygwin\bin\ssh.exe hides C:\Cygwin_old\bin\ssh.exe
>
> If you remove Cygwin_old from your PATH do you experience the problem?
>

Yes, still the same problem, here is current output of "cygcheck.exe
-v ssh" (only C:\Cygwin\bin\ssh.exe):

Found: C:\Cygwin\bin\ssh.exe
Found: C:\Cygwin\bin\ssh.exe
C:\Cygwin\bin\ssh.exe - os=4.0 img=1.0 sys=4.0
  C:\Cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
      "cygssp-0.dll" v0.0 ts=2011/10/23 14:33
          C:\Cygwin\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)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\Cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
          "cygcrypto-1.0.0.dll" v0.0 ts=2012/5/11 11:33
              C:\Cygwin\bin\cygwin1.dll (already done)
        C:\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
              "cygz.dll" v0.0 ts=2012/5/13 5:11
                    C:\Cygwin\bin\cygwin1.dll (already done)
          C:\Cygwin\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
                          C:\Cygwin\bin\cygwin1.dll (already done)
            C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cyggcc_s-1.dll (already done)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
      C:\Cygwin\bin\cygwin1.dll (already done)
      C:\Cygwin\bin\cyggssapi-3.dll - os=4.0 img=1.0 sys=4.0
          "cyggssapi-3.dll" v0.0 ts=2012/3/23 4:01
              C:\Cygwin\bin\cygheimntlm-0.dll - os=4.0 img=1.0 sys=4.0
                    "cygheimntlm-0.dll" v0.0 ts=2012/3/23 3:58
                          C:\Cygwin\bin\cygkrb5-26.dll - os=4.0 img=1.0 sys=4.0
                                  "cygkrb5-26.dll" v0.0 ts=2012/3/23 3:57
                                          C:\Cygwin\bin\cygasn1-8.dll
- os=4.0 img=1.0 sys=4.0
                                                    "cygasn1-8.dll"
v0.0 ts=2012/3/23 3:53

C:\Cygwin\bin\cygroken-18.dll - os=4.0 img=1.0 sys=4.0

   "cygroken-18.dll" v0.0 ts=2012/3/23 3:51

               C:\Cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0

                             "cygcrypt-0.dll" v0.0 ts=2012/5/7 12:18

                                           C:\Cygwin\bin\cygwin1.dll
(already done)
                  C:\WINDOWS\system32\KERNEL32.dll (already done)
                C:\Cygwin\bin\cygwin1.dll (already done)
                C:\WINDOWS\system32\KERNEL32.dll (already done)
              C:\Cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0
                          "cygcom_err-2.dll" v0.0 ts=2011/1/7 1:26
                                      C:\Cygwin\bin\cygwin1.dll (already done)
                C:\Cygwin\bin\cyggcc_s-1.dll (already done)
                C:\WINDOWS\system32\KERNEL32.dll (already done)
              C:\Cygwin\bin\cygwin1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\Cygwin\bin\cygwind-0.dll - os=4.0 img=1.0 sys=4.0
                      "cygwind-0.dll" v0.0 ts=2012/3/23 3:52
                                C:\Cygwin\bin\cygcom_err-2.dll (already done)
              C:\Cygwin\bin\cygwin1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\Cygwin\bin\cyghx509-5.dll - os=4.0 img=1.0 sys=4.0
                      "cyghx509-5.dll" v0.0 ts=2012/3/23 3:54
                                C:\Cygwin\bin\cygasn1-8.dll (already done)
              C:\Cygwin\bin\cygwind-0.dll (already done)
              C:\Cygwin\bin\cygcom_err-2.dll (already done)
              C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
              C:\Cygwin\bin\cygwin1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
              C:\Cygwin\bin\cygroken-18.dll (already done)
            C:\Cygwin\bin\cyggcc_s-1.dll (already done)
            C:\Cygwin\bin\cygcom_err-2.dll (already done)
            C:\Cygwin\bin\cygcrypt-0.dll (already done)
            C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
            C:\Cygwin\bin\cygwin1.dll (already done)
            C:\Cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                      "cygintl-8.dll" v0.0 ts=2011/10/16 6:38
                                C:\Cygwin\bin\cygwin1.dll (already done)
              C:\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                          "cygiconv-2.dll" v0.0 ts=2011/10/16 18:01
                                      C:\Cygwin\bin\cygwin1.dll (already done)
                C:\WINDOWS\system32\KERNEL32.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\Cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0
                      "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20
                                C:\Cygwin\bin\cygwin1.dll (already done)
              C:\Cygwin\bin\cyggcc_s-1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\Cygwin\bin\cygheimbase-1.dll - os=4.0 img=1.0 sys=4.0
                      "cygheimbase-1.dll" v0.0 ts=2012/3/23 3:51
                                C:\Cygwin\bin\cygwin1.dll (already done)
              C:\WINDOWS\system32\KERNEL32.dll (already done)
            C:\Cygwin\bin\cygroken-18.dll (already done)
          C:\Cygwin\bin\cyggcc_s-1.dll (already done)
          C:\Cygwin\bin\cygcom_err-2.dll (already done)
          C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
          C:\Cygwin\bin\cygwin1.dll (already done)
          C:\WINDOWS\system32\KERNEL32.dll (already done)
          C:\Cygwin\bin\cygroken-18.dll (already done)
        C:\Cygwin\bin\cygcom_err-2.dll (already done)
        C:\Cygwin\bin\cygcrypto-1.0.0.dll (already done)
        C:\Cygwin\bin\cygwin1.dll (already done)
        C:\WINDOWS\system32\KERNEL32.dll (already done)
        C:\Cygwin\bin\cygheimbase-1.dll (already done)
        C:\Cygwin\bin\cygasn1-8.dll (already done)
        C:\Cygwin\bin\cygkrb5-26.dll (already done)
        C:\Cygwin\bin\cygroken-18.dll (already done)
      C:\Cygwin\bin\cygz.dll (already done)
      C:\WINDOWS\system32\KERNEL32.dll (already done)

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-25  0:50               ` Tian You
@ 2012-06-25 10:51                 ` Earnie Boyd
  2012-06-26  7:50                   ` Tian You
  0 siblings, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-06-25 10:51 UTC (permalink / raw)
  To: cygwin

On Sun, Jun 24, 2012 at 8:50 PM, Tian You wrote:
>>>> cygcheck.exe -v ssh
>>>
>>> Here it is:
>>>
>>> $ cygcheck.exe -v ssh
>>> Found: C:\Cygwin\bin\ssh.exe
>>> Found: C:\Cygwin\bin\ssh.exe
>>> Found: C:\Cygwin_old\bin\ssh.exe
>>> Warning: C:\Cygwin\bin\ssh.exe hides C:\Cygwin_old\bin\ssh.exe
>>
>> If you remove Cygwin_old from your PATH do you experience the problem?
>>
>
> Yes, still the same problem, here is current output of "cygcheck.exe
> -v ssh" (only C:\Cygwin\bin\ssh.exe):

If you try the latest snapshot from http://cygwin.com/snapshots does
it resolve the issue?

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-25 10:51                 ` Earnie Boyd
@ 2012-06-26  7:50                   ` Tian You
  2012-06-26 11:14                     ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Tian You @ 2012-06-26  7:50 UTC (permalink / raw)
  To: cygwin

>> Yes, still the same problem, here is current output of "cygcheck.exe
>> -v ssh" (only C:\Cygwin\bin\ssh.exe):
>
> If you try the latest snapshot from http://cygwin.com/snapshots does
> it resolve the issue?
>

I did not try that because I'm going to deliver my application within
cygwin, and cannot count on a snapshot.
Do you have any idea about how to debug in this case? Some way can
lead us to the root cause?

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ask for help on running interactive cmd in Mintty!
  2012-06-26  7:50                   ` Tian You
@ 2012-06-26 11:14                     ` Earnie Boyd
  0 siblings, 0 replies; 13+ messages in thread
From: Earnie Boyd @ 2012-06-26 11:14 UTC (permalink / raw)
  To: cygwin

On Tue, Jun 26, 2012 at 3:50 AM, Tian You wrote:
>>> Yes, still the same problem, here is current output of "cygcheck.exe
>>> -v ssh" (only C:\Cygwin\bin\ssh.exe):
>>
>> If you try the latest snapshot from http://cygwin.com/snapshots does
>> it resolve the issue?
>>
>
> I did not try that because I'm going to deliver my application within
> cygwin, and cannot count on a snapshot.
> Do you have any idea about how to debug in this case? Some way can
> lead us to the root cause?

You must try the most recent snapshot to determine if the bug is fixed
already.  Why try to debug it if it is fixed?

Also, there is no need to add my personal email address to the response.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-06-26 11:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20  7:16 Ask for help on running interactive cmd in Mintty! Tian You
2012-06-20 11:14 ` Earnie Boyd
2012-06-20 15:07   ` Tian You
2012-06-20 15:44     ` Earnie Boyd
2012-06-20 16:05       ` Tian You
2012-06-20 16:15         ` Tian You
2012-06-20 17:45         ` Earnie Boyd
2012-06-21  1:12           ` Tian You
2012-06-21 11:27             ` Earnie Boyd
2012-06-25  0:50               ` Tian You
2012-06-25 10:51                 ` Earnie Boyd
2012-06-26  7:50                   ` Tian You
2012-06-26 11:14                     ` Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).