Ask for help on running interactive cmd in Mintty!

2012-06-20 Thread Tian You
Hi All I'm running a perl program like this: ## script start ## print "Please input:"; my $input = ; 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. Onl

Re: Ask for help on running interactive cmd in Mintty!

2012-06-20 Thread Tian You
PM, Earnie Boyd 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 = ; >> chomp $input; >>

Re: Ask for help on running interactive cmd in Mintty!

2012-06-20 Thread Tian You
lready 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) On Wed, Jun 20, 2012 at 11:44 PM, Earnie Boyd wrote: > http://cygwin.com/acronyms/#TOFU > > On Wed, Jun 20, 2012

Re: Ask for help on running interactive cmd in Mintty!

2012-06-20 Thread Tian You
gt; /usr/bin/cygwin1.dll (0x6100) cygz.dll => /usr/bin/cygz.dll (0x694c) cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6bf4) cygssp-0.dll => /usr/bin/cygssp-0.dll (0x6728) On Thu, Jun 21, 2012 at 12:04 AM, Tian You wrote: > Here is the front part of

Re: Ask for help on running interactive cmd in Mintty!

2012-06-20 Thread Tian You
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

Re: Ask for help on running interactive cmd in Mintty!

2012-06-24 Thread Tian You
>>> 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 t

Re: Ask for help on running interactive cmd in Mintty!

2012-06-26 Thread Tian You
>> 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 cann