Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Ken Brown

On 11/25/2015 4:03 PM, Marco Atzeri wrote:

On 25/11/2015 20:52, Jim Reisert AD1C wrote:

[LTDENA-REISERT:~] $ which ping
/usr/bin/ping

[LTDENA-REISERT:~] $ ls -l `which ping`
-rwxr-xr-x 1 reisert Domain Users 13824 May  3  2014 /usr/bin/ping



you have an alias somewhere


Not necessarily.  He might have the Cygwin ping package installed.

Ken


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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Thomas Wolff

Am 25.11.2015 um 23:44 schrieb Ken Brown:

On 11/25/2015 4:03 PM, Marco Atzeri wrote:

On 25/11/2015 20:52, Jim Reisert AD1C wrote:

[LTDENA-REISERT:~] $ which ping
/usr/bin/ping

[LTDENA-REISERT:~] $ ls -l `which ping`
-rwxr-xr-x 1 reisert Domain Users 13824 May  3  2014 /usr/bin/ping



you have an alias somewhere


Not necessarily.  He might have the Cygwin ping package installed.

Ken
The point is that his ping is likely to be the Windows ping, judging by 
its output format, despite the output of `which` which may be false. It 
is better to use `type`.


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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Jim Reisert AD1C
[LTDENA-REISERT:~] $ which ping
/usr/bin/ping

[LTDENA-REISERT:~] $ ls -l `which ping`
-rwxr-xr-x 1 reisert Domain Users 13824 May  3  2014 /usr/bin/ping

-- 
Jim Reisert AD1C, , http://www.ad1c.us

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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Thomas Wolff

Am 25.11.2015 um 19:51 schrieb Jim Reisert AD1C:

On Wed, Nov 25, 2015 at 4:03 AM, Marco Atzeri wrote:


you are right is not a mintty only issue.
Same happens in xterm


$ which ping
/usr/bin/ping

$ ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes

It sticks here forever, CTRL+C ineffective.

Worked fine for me using Cygwin64 and Cygwin build 2.4.0(0.292/5/3)

[LTDENA-REISERT:~] $ ping 2.2.2.2

Pinging 2.2.2.2 with 32 bytes of data:

(type CTRL-C here)

[LTDENA-REISERT:~] $
Please note the difference and provide the necessary information (`which 
ping`):

PING 2.2.2.2 (2.2.2.2): 56 data bytes
Pinging 2.2.2.2 with 32 bytes of data: 

--
Thomas

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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Jim Reisert AD1C
On Wed, Nov 25, 2015 at 4:03 AM, Marco Atzeri wrote:

> you are right is not a mintty only issue.
> Same happens in xterm
>
>
> $ which ping
> /usr/bin/ping
>
> $ ping 2.2.2.2
> PING 2.2.2.2 (2.2.2.2): 56 data bytes
>
> It sticks here forever, CTRL+C ineffective.

Worked fine for me using Cygwin64 and Cygwin build 2.4.0(0.292/5/3)

[LTDENA-REISERT:~] $ ping 2.2.2.2

Pinging 2.2.2.2 with 32 bytes of data:

(type CTRL-C here)

[LTDENA-REISERT:~] $


-- 
Jim Reisert AD1C, , http://www.ad1c.us

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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Andrey Repin
Greetings, Jim Reisert AD1C!

> [LTDENA-REISERT:~] $ which ping
> /usr/bin/ping

> [LTDENA-REISERT:~] $ ls -l `which ping`
> -rwxr-xr-x 1 reisert Domain Users 13824 May  3  2014 /usr/bin/ping

Well, try again with native ping.


-- 
With best regards,
Andrey Repin
Wednesday, November 25, 2015 23:22:38

Sorry for my terrible english...


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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Marco Atzeri

On 25/11/2015 20:52, Jim Reisert AD1C wrote:

[LTDENA-REISERT:~] $ which ping
/usr/bin/ping

[LTDENA-REISERT:~] $ ls -l `which ping`
-rwxr-xr-x 1 reisert Domain Users 13824 May  3  2014 /usr/bin/ping



you have an alias somewhere

$ /cygdrive/c/windows/System32/ping 2.2.2.2

Pinging 2.2.2.2 with 32 bytes of data:

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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-25 Thread Marco Atzeri

On 25/11/2015 08:06, Thomas Wolff wrote:

Am 24.11.2015 um 23:29 schrieb Marco Atzeri:





...
I assume it is an interaction with mintty.

Many problems of that kind attributed to mintty are actually problems
with cygwin or especially pty.
Please test also with another terminal (xterm, rxvt, ...).
Also some more details could be helpful as I cannot reproduce the issue
(output of `type ping`, actual host pinged).
--
Thomas


you are right is not a mintty only issue.
Same happens in xterm


$ which ping
/usr/bin/ping

$ ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes

It sticks here forever, CTRL+C ineffective.
Process Explorer or Task Manager are needed to kill the process.
Also kill -9 PID is ineffective

On the old cygwin.bat (aka windows cmd)
CTRL+C is effective

 64 $ ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes

2.2.2.2 PING Statistics
2 packets transmitted, 0 packets received, 100.0% packet loss


Regards
Marco

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



Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-24 Thread Marco Atzeri



On 24/11/2015 22:48, Jeff Hansen wrote:

I have recently installed the latest 32-bit version of Cygwin on my Windows
10 Professional operating system.

When I ping a host, and the ping doesn't reply for a few minutes, I find the
ping hangs when I try to break out of it using CTRL+C.
IT is at this point I have to close the Mintty window completely and re-open
as it is unresponsive.
Any pings to a host that does reply doesn't result in a 'hung ping', as
described here.

My only fix up to this point is to downgrade to a previous installation of
Cygwin that I've had for approx. 5 years now.  That copy has Mintty ver
0.9.9 installed.

I did attempt to go through the various forums and sites to try to find
other previous reports of this, and while I did find some previous reports
of this happening, I have been unable to find a solution that fixed the
problem I am having.

I try my hardest to not bother you good people. but I am at my wits end at
what to try here.  Any and all suggestions that works towards a solution is
very welcome.


-Jeff



the problem is also present on 64 bit.
As ping on windows console is reacting at CTRL+C
I assume it is an interaction with mintty.

As workaround you should be able to kill ping
with task manager without killing mintty.




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



Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-24 Thread Jeff Hansen
I have recently installed the latest 32-bit version of Cygwin on my Windows
10 Professional operating system.

When I ping a host, and the ping doesn't reply for a few minutes, I find the
ping hangs when I try to break out of it using CTRL+C.
IT is at this point I have to close the Mintty window completely and re-open
as it is unresponsive.
Any pings to a host that does reply doesn't result in a 'hung ping', as
described here.

My only fix up to this point is to downgrade to a previous installation of
Cygwin that I've had for approx. 5 years now.  That copy has Mintty ver
0.9.9 installed. 

I did attempt to go through the various forums and sites to try to find
other previous reports of this, and while I did find some previous reports
of this happening, I have been unable to find a solution that fixed the
problem I am having.

I try my hardest to not bother you good people. but I am at my wits end at
what to try here.  Any and all suggestions that works towards a solution is
very welcome.


-Jeff



cygcheck.out
Description: Binary data
--
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

Re: Mintty 2.2.2: possible hang when breaking (CTRL+C) out of pinging unresponsive host

2015-11-24 Thread Thomas Wolff

Am 24.11.2015 um 23:29 schrieb Marco Atzeri:


On 24/11/2015 22:48, Jeff Hansen wrote:

...
When I ping a host, and the ping doesn't reply for a few minutes, I 
find the

ping hangs when I try to break out of it using CTRL+C.
IT is at this point I have to close the Mintty window completely and 
re-open

as it is unresponsive.
Any pings to a host that does reply doesn't result in a 'hung ping', as
described here.
...

I try my hardest to not bother you good people. but I am at my wits 
end at what to try here.

No worries. That's what this list is for.

Any and all suggestions that works towards a solution is
very welcome.

...
I assume it is an interaction with mintty.
Many problems of that kind attributed to mintty are actually problems 
with cygwin or especially pty.

Please test also with another terminal (xterm, rxvt, ...).
Also some more details could be helpful as I cannot reproduce the issue 
(output of `type ping`, actual host pinged).

--
Thomas

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