Re: [gentoo-user] the problem with ping
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 -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 ;-) -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 -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
Re: [gentoo-user] the problem with ping
Hmm. Works now after a reboot. I'm running kde 3.2 beta 1, so it might have been something with that. Thanks for the response. On Wednesday 12 November 2003 01:29 am, jkw wrote: > > is that it never stops anymore with -c ... I have to use the > > "kill" > > command to stop it. I'm using net-misc/iputils-020927. > > > > Is something wrong with my setup? > > yes :) > > ...ah, you were expecting that answer, weren't you... > is it just ping or other programs as well? > have you tried "stty intr [ctrl+v][ctrl+c]"? > > j. -- Stephen From here to there and there to here, funny things are everywhere. -- Dr Seuss -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] the problem with ping
At 02:29 AM 11/12/2003, you wrote: is that it never stops anymore with -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. You could also create an alias that makes ping only ping "x" number of times instead of having to specify it each time. Hall -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] the problem with ping
On Nov 11, 2003, at 5:52 PM, Stephen Boulet wrote: is that it never stops anymore with -c ... I have to use the "kill" command to stop it. I'm using net-misc/iputils-020927. Is something wrong with my setup? yes :) ...ah, you were expecting that answer, weren't you... is it just ping or other programs as well? have you tried "stty intr [ctrl+v][ctrl+c]"? j. -- [EMAIL PROTECTED] mailing list
[gentoo-user] the problem with ping
is that it never stops anymore with -c ... I have to use the "kill" command to stop it. I'm using net-misc/iputils-020927. Is something wrong with my setup? -- Stephen From here to there and there to here, funny things are everywhere. -- Dr Seuss -- [EMAIL PROTECTED] mailing list