From nobody@FreeBSD.org  Fri Oct 16 18:16:22 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0E188106568F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Oct 2009 18:16:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id F1FA88FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Oct 2009 18:16:21 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9GIGLrA058702
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Oct 2009 18:16:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9GIGLpY058701;
	Fri, 16 Oct 2009 18:16:21 GMT
	(envelope-from nobody)
Message-Id: <200910161816.n9GIGLpY058701@www.freebsd.org>
Date: Fri, 16 Oct 2009 18:16:21 GMT
From: Manolis Kiagias <manolis@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] dialog(1) man page does not mention radiolist option
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139682
>Category:       docs
>Synopsis:       [PATCH] dialog(1) man page does not mention radiolist option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bcr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 16 18:20:02 UTC 2009
>Closed-Date:    Tue Jul 20 16:15:09 UTC 2010
>Last-Modified:  Tue Jul 20 16:15:09 UTC 2010
>Originator:     Manolis Kiagias
>Release:        8.0-RC1-p1
>Organization:
>Environment:
FreeBSD atomic.dyndns.org 8.0-RC1-p1 FreeBSD 8.0-RC1-p1 #0: Sun Oct  4 02:43:33 UTC 2009     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The man page for dialog(1) does not mention the radiolist option. This is however shown if dialog is run without arguments. It also works as expected.
>How-To-Repeat:
Run man 1 dialog and search for radiolist
Run dialog without arguments and see that radiolist appears as an option.
>Fix:
Apply the supplied patch. The GNU page for dialog also has a description for radiolist that may be used instead of mine (somewhat different).

Patch attached with submission follows:

--- original/dialog.1	2009-10-16 20:35:05.000000000 +0300
+++ dialog.1	2009-10-16 21:04:22.000000000 +0300
@@ -30,6 +30,7 @@
 .BR yes/no " box," " menu" " box," " input" " box,"
 .BR message " box," " text" " box," " info" " box,"
 .BR checklist " box," " program" " box,"
+.BR radiolist " box,"
 .BR ftree " and " tree " boxes."
 .SH OPTIONS
 .TP
@@ -172,6 +173,15 @@
 .I tag
 strings of those entries that are turned on will be printed on
 .IR stderr "."
+.IP "\fB\-\-radiolist \fItext height width list-height \fR[ \fItag item status \fR] \fI..."
+.RB "A " radiolist " box is similar to a " checklist " but it only allows"
+a single entry to be selected. One entry may initially be turned on as
+specified by
+.IR status "."
+On exit, the
+.I tag
+string of the entry that is turned on will be printed on
+.IR stderr "."
 .IP "\fB\-\-ftree \fIfile FS text height width menu-height"
 .B ftree 
 box is a dialog box showing the tree described by the data from the file 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: bcr 
State-Changed-When: Tue Jul 6 18:07:01 UTC 2010 
State-Changed-Why:  
The patch was committed to HEAD (r209738). I'll leave it in "patched" 
state until the MFC has been made. 


Responsible-Changed-From-To: freebsd-doc->bcr 
Responsible-Changed-By: bcr 
Responsible-Changed-When: Tue Jul 6 18:07:01 UTC 2010 
Responsible-Changed-Why:  
The patch was committed to HEAD (r209738). I'll leave it in "patched" 
state until the MFC has been made. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139682 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/139682: commit references a PR
Date: Tue,  6 Jul 2010 18:07:11 +0000 (UTC)

 Author: bcr (doc committer)
 Date: Tue Jul  6 18:06:10 2010
 New Revision: 209738
 URL: http://svn.freebsd.org/changeset/base/209738
 
 Log:
   Mention the radiolist option in the man page. It is being listed when
   dialog(1) is run without arguments and works as expected. Therefore,
   it should be part of the manual as well.
   
   Note: dialog(1) has not been updated for many years and is not actively
   maintained at the moment.
   
   PR:             docs/139682
   Submitted by:   manolis@
   Discussed with: jkim@
   MFC after:      2 weeks
 
 Modified:
   head/gnu/usr.bin/dialog/dialog.1
 
 Modified: head/gnu/usr.bin/dialog/dialog.1
 ==============================================================================
 --- head/gnu/usr.bin/dialog/dialog.1	Tue Jul  6 18:05:05 2010	(r209737)
 +++ head/gnu/usr.bin/dialog/dialog.1	Tue Jul  6 18:06:10 2010	(r209738)
 @@ -30,6 +30,7 @@ types of dialog objects are currently su
  .BR yes/no " box," " menu" " box," " input" " box,"
  .BR message " box," " text" " box," " info" " box,"
  .BR checklist " box," " program" " box,"
 +.BR radiolist " box,"
  .BR ftree " and " tree " boxes."
  .SH OPTIONS
  .TP
 @@ -172,6 +173,15 @@ On exit, a list of the
  .I tag
  strings of those entries that are turned on will be printed on
  .IR stderr "."
 +.IP "\fB\-\-radiolist \fItext height width list-height \fR[ \fItag item status \fR] \fI..."
 +.RB "A " radiolist " box is similar to a " checklist " but it only allows"
 +a single entry to be selected. One entry may initially be turned on as
 +specified by
 +.IR status "."
 +On exit, the
 +.I tag
 +string of the entry that is turned on will be printed on
 +.IR stderr "."
  .IP "\fB\-\-ftree \fIfile FS text height width menu-height"
  .B ftree 
  box is a dialog box showing the tree described by the data from the file 
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/139682: commit references a PR
Date: Tue, 20 Jul 2010 15:34:46 +0000 (UTC)

 Author: bcr (doc committer)
 Date: Tue Jul 20 15:34:27 2010
 New Revision: 210297
 URL: http://svn.freebsd.org/changeset/base/210297
 
 Log:
   MFC r209738:
   
   Mention the radiolist option in the man page. It is being listed when
   dialog(1) is run without arguments and works as expected. Therefore,
   it should be part of the manual as well.
   
   Note: dialog(1) has not been updated for many years and is not actively
   maintained at the moment.
   
   PR:             docs/139682
   Submitted by:   manolis@
   Discussed with: jkim@
 
 Modified:
   stable/8/gnu/usr.bin/dialog/dialog.1
 Directory Properties:
   stable/8/gnu/usr.bin/dialog/   (props changed)
 
 Modified: stable/8/gnu/usr.bin/dialog/dialog.1
 ==============================================================================
 --- stable/8/gnu/usr.bin/dialog/dialog.1	Tue Jul 20 14:27:09 2010	(r210296)
 +++ stable/8/gnu/usr.bin/dialog/dialog.1	Tue Jul 20 15:34:27 2010	(r210297)
 @@ -30,6 +30,7 @@ types of dialog objects are currently su
  .BR yes/no " box," " menu" " box," " input" " box,"
  .BR message " box," " text" " box," " info" " box,"
  .BR checklist " box," " program" " box,"
 +.BR radiolist " box,"
  .BR ftree " and " tree " boxes."
  .SH OPTIONS
  .TP
 @@ -172,6 +173,15 @@ On exit, a list of the
  .I tag
  strings of those entries that are turned on will be printed on
  .IR stderr "."
 +.IP "\fB\-\-radiolist \fItext height width list-height \fR[ \fItag item status \fR] \fI..."
 +.RB "A " radiolist " box is similar to a " checklist " but it only allows"
 +a single entry to be selected. One entry may initially be turned on as
 +specified by
 +.IR status "."
 +On exit, the
 +.I tag
 +string of the entry that is turned on will be printed on
 +.IR stderr "."
  .IP "\fB\-\-ftree \fIfile FS text height width menu-height"
  .B ftree 
  box is a dialog box showing the tree described by the data from the file 
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: bcr 
State-Changed-When: Tue Jul 20 16:14:10 UTC 2010 
State-Changed-Why:  
MFC is done, PR closed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139682 
>Unformatted:
