mintty/ping issue

Nellis, Kenneth Kenneth.Nellis@acs-inc.com
Fri Apr 1 13:48:00 GMT 2011


Running Cygwin 1.7.9, bash 4.1.10, the Windows ping command works 
fine from the Command Prompt window, but not from mintty, where 
it writes the IP address octets as binary, appearing as garbage:

From Command Prompt (works fine):
C:\>ping 127.1.1.1

Pinging 127.1.1.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.1.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>


From mintty (first line of output is garbled):
Cygwin> ping 127.1.1.1

Pinging ▒▒ with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for     :
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
Cygwin>

What's up with that?

--Ken Nellis


More information about the Cygwin mailing list