This is the mail archive of the
cygwin
mailing list for the Cygwin project.
mintty/ping issue
- From: "Nellis, Kenneth" <Kenneth dot Nellis at acs-inc dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 1 Apr 2011 08:48:37 -0500
- Subject: mintty/ping issue
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