From maxim@news1.macomnet.ru  Mon Jan  7 01:47:18 2002
Return-Path: <maxim@news1.macomnet.ru>
Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14])
	by hub.freebsd.org (Postfix) with ESMTP id 14BD337B41A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Jan 2002 01:47:17 -0800 (PST)
Received: (from maxim@localhost)
	by news1.macomnet.ru (8.11.1/8.11.1) id g079lFp75004;
	Mon, 7 Jan 2002 12:47:15 +0300 (MSK)
	(envelope-from maxim)
Message-Id: <200201070947.g079lFp75004@news1.macomnet.ru>
Date: Mon, 7 Jan 2002 12:47:15 +0300 (MSK)
From: maxim@macomnet.ru
Reply-To: maxim@macomnet.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: ping(8) and ping6(8) are silent about SIGINFO
X-Send-Pr-Version: 3.2

>Number:         33639
>Category:       docs
>Synopsis:       ping(8) and ping6(8) are silent about SIGINFO
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 07 01:50:01 PST 2002
>Closed-Date:    Thu Feb 14 01:26:18 PST 2002
>Last-Modified:  Thu Feb 14 01:27:00 PST 2002
>Originator:     Maxim Konovalov, maxim@macomnet.ru
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
n/a
>Environment:

	FreeBSD 5.0-CURRENT i386

>Description:

	ping(8) and ping6(8) say nothing about SIGINGO handling.

>How-To-Repeat:

	n/a

>Fix:

Index: ping.8
===================================================================
RCS file: /home/ncvs/src/sbin/ping/ping.8,v
retrieving revision 1.33
diff -u -r1.33 ping.8
--- ping.8	25 Sep 2001 20:22:33 -0000	1.33
+++ ping.8	7 Jan 2002 09:30:46 -0000
@@ -266,8 +266,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
+received, and the minimum, mean, maximum and standard deviation 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 error output.
 .Pp
 This program is intended for use in network testing, measurement and
 management.

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 09:35:43 -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 error output in the same format as the standard
+completion message.
 .Pp
 This program is intended for use in network testing, measurement and
 management.
>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: freebsd-gnats-submit@FreeBSD.org
Cc: maxim@macomnet.ru
Subject: Re: docs/33639: ping(8) and ping6(8) are silent about SIGINFO
Date: Mon, 7 Jan 2002 13:07:42 +0300 (MSK)

 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.
 
State-Changed-From-To: open->analyzed 
State-Changed-By: maxim 
State-Changed-When: Thu Feb 7 12:11:06 PST 2002 
State-Changed-Why:  
The patch committed to -current. 


Responsible-Changed-From-To: freebsd-doc->maxim 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Thu Feb 7 12:11:06 PST 2002 
Responsible-Changed-Why:  
It's my own PR. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33639 
State-Changed-From-To: analyzed->closed 
State-Changed-By: maxim 
State-Changed-When: Thu Feb 14 01:26:18 PST 2002 
State-Changed-Why:  
Committed to -current and -stable. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33639 
>Unformatted:
