From seggers@semyam.dinoco.de  Fri Jun 12 07:24:10 1998
Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA18112
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Jun 1998 07:24:08 -0700 (PDT)
          (envelope-from seggers@semyam.dinoco.de)
Received: (from uucp@localhost)
	by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA22250
	for FreeBSD-gnats-submit@freebsd.org; Fri, 12 Jun 1998 16:21:20 +0200 (MET DST)
Received: (from seggers@localhost)
	by semyam.dinoco.de (8.8.8/8.8.8) id PAA25468;
	Fri, 12 Jun 1998 15:25:13 +0200 (CEST)
	(envelope-from seggers)
Message-Id: <199806121325.PAA25468@semyam.dinoco.de>
Date: Fri, 12 Jun 1998 15:25:13 +0200 (CEST)
From: Stefan Eggers <seggers@semyam.dinoco.de>
Reply-To: seggers@semyam.dinoco.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: seggers@semyam.dinoco.de
Subject: cdcontrol(1) man page is missing some environment variables
X-Send-Pr-Version: 3.2

>Number:         6927
>Category:       docs
>Synopsis:       cdcontrol(1) man page is missing some environment variables
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 12 07:30:01 PDT 1998
>Closed-Date:    Sat Jun 13 12:27:40 PDT 1998
>Last-Modified:  Sat Jun 13 12:30:44 PDT 1998
>Originator:     Stefan Eggers
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
none
>Environment:

	A PC with a SCSI CD-ROM drive.  I think this is exact enough
for this type of problem.  ;-)

>Description:

	The man page for cdcontrol(1) is missing three environment
variables.  They are CDPLAY, CD_DRIVE and MUSIC_CD.  The do the same
as the documented DISC does.

>How-To-Repeat:

	Read the man page for cdcontrol(1) and compare it with the
code.

>Fix:

	Apply this to /usr/src/usr.sbin/cdcontrol/cdcontrol.1:

*** cdcontrol.1.ORIG	Mon Mar  9 14:50:37 1998
--- cdcontrol.1	Fri Jun 12 15:19:31 1998
***************
*** 20,28 ****
  or
  .Pa mcd0 . 
  .Pp
! If the device not specified, the environment variable 
  .Ev DISC
! will be used to find the cd device.
  .Pp
  If no command is given, then
  .Nm
--- 20,32 ----
  or
  .Pa mcd0 . 
  .Pp
! If the device not specified, the environment variables 
! .Ev MUSIC_CD ,
! .Ev CD_DRIVE ,
  .Ev DISC
! and
! .Ev CDPLAY
! will be used (in this order) to find the cd device.
  .Pp
  If no command is given, then
  .Nm
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Jun 13 12:27:40 PDT 1998 
State-Changed-Why:  
Fixed in rev 1.16 and rev 1.8.2.5 of src/usr.sbin/cdcontrol/cdcontrol.1. 
Thanks! 
>Unformatted:
