Hello, Am Mittwoch, 12. November 2003 15:13 schrieb Hall Stevenson: > At 02:29 AM 11/12/2003, you wrote: > >is that it never stops anymore with <control>-c ... I have to use the > > "kill" command to stop it. I'm using net-misc/iputils-020927. > > > >Is something wrong with my setup? > > Nope, unless you think the method that 'ping' on Windows works is > "correct". On Windows, it pings (4) times and stops. On *nix, I don't know > how many times it will ping before it stops. If you want it to ping 'x' > number of times, use 'ping -c X site', where 'X' is the number of times you > want it to ping.
that's right, but was not the OPs problem ;-) <control>-c should work, and stop the pinging: [EMAIL PROTECTED] sb $ ping www.gentoo.org PING www.gentoo.org (212.162.48.146) 56(84) bytes of data. 64 bytes from 212.162.48.146: icmp_seq=1 ttl=53 time=15.7 ms 64 bytes from 212.162.48.146: icmp_seq=2 ttl=53 time=15.9 ms 64 bytes from 212.162.48.146: icmp_seq=3 ttl=53 time=15.9 ms 64 bytes from 212.162.48.146: icmp_seq=4 ttl=53 time=15.5 ms 64 bytes from 212.162.48.146: icmp_seq=5 ttl=53 time=15.6 ms 64 bytes from 212.162.48.146: icmp_seq=6 ttl=53 time=15.7 ms 64 bytes from 212.162.48.146: icmp_seq=7 ttl=53 time=15.7 ms Here I pressed <control>-c --- www.gentoo.org ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6032ms rtt min/avg/max/mdev = 15.550/15.763/15.963/0.200 ms > You could also create an alias that makes ping only ping "x" number of > times instead of having to specify it each time. > > Hall To the OP: Are you trying this in a xterm or something similar? Does it work in a text-console? Regards Michael -- [EMAIL PROTECTED] mailing list
