Bug 33639

Summary: ping(8) and ping6(8) are silent about SIGINFO
Product: Documentation Reporter: Maxim Konovalov <maxim>
Component: Books & ArticlesAssignee: Maxim Konovalov <maxim>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Maxim Konovalov 2002-01-07 09:50:01 UTC
	ping(8) and ping6(8) say nothing about SIGINGO handling.

How-To-Repeat: 
	n/a
Comment 1 Maxim Konovalov 2002-01-07 10:07:42 UTC
I am sorry, the patch for ping6.8 is incorrect. Here is more correct
one.

Index: ping6.8
===================================================================
RCS file: /home/ncvs/src/sbin/ping6/ping6.8,v
retrieving revision 1.15
diff -u -r1.15 ping6.8
--- ping6.8	11 Dec 2001 18:36:29 -0000	1.15
+++ ping6.8	7 Jan 2002 10:03:07 -0000
@@ -302,8 +302,18 @@
 or if the program is terminated with a
 .Dv SIGINT ,
 a brief summary is displayed, showing the number of packets sent and
-received, and the minimum, maximum, mean, and standard deviation of
-the round-trip times.
+received, and the minimum, mean and maximum of the round-trip times.
+.Pp
+If
+.Nm
+receives a
+.Dv SIGINFO
+(see the ``status'' argument for
+.Xr stty 1 )
+signal, the current number of packets sent and received, and the
+minimum, mean and maximum of the round-trip times will be written to
+the standard output in the same format as the standard completion
+message.
 .Pp
 This program is intended for use in network testing, measurement and
 management.
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2002-02-07 20:11:06 UTC
State Changed
From-To: open->analyzed

The patch committed to -current. 


Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2002-02-07 20:11:06 UTC
Responsible Changed
From-To: freebsd-doc->maxim

It's my own PR.
Comment 4 Maxim Konovalov freebsd_committer freebsd_triage 2002-02-14 09:26:18 UTC
State Changed
From-To: analyzed->closed

Committed to -current and -stable.