mdoc(7) police: tidy up the markup.

This commit is contained in:
Ruslan Ermilov 2002-05-30 07:34:10 +00:00
parent 99b9331a4f
commit b3ecef214c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97557

View File

@ -1,6 +1,6 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd July 3, 1995 .Dd May 8, 2002
.Dt CDCONTROL 1 .Dt CDCONTROL 1
.Os .Os
.Sh NAME .Sh NAME
@ -21,16 +21,20 @@ as
or or
.Pa mcd0 . .Pa mcd0 .
.Pp .Pp
If no command is given, then If no
.Ar command
is given, then
.Nm .Nm
enters an interactive mode, reading commands from the standard input. enters an interactive mode, reading commands from the standard input.
.Pp .Pp
The following options are available: The following options are available:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl s .It Fl s
Silent mode - do not print table headers and human readable comments. Silent mode.
Do not print table headers and human readable comments.
.It Fl v .It Fl v
Verbose mode - print as much information as possible. Verbose mode.
Print as much information as possible.
.It Fl f Ar device .It Fl f Ar device
Specify a device, such as Specify a device, such as
.Pa /dev/cd0c .Pa /dev/cd0c
@ -39,35 +43,38 @@ or
Both absolute path and relative to Both absolute path and relative to
.Pa /dev .Pa /dev
filename are possible. filename are possible.
Suffix `c' is added to the device name if needed. Suffix
.Pa c
is added to the device name if needed.
.El .El
.Pp .Pp
The available commands are listed below. Only as many The available commands are listed below.
Only as many
characters as are required to uniquely identify a command characters as are required to uniquely identify a command
need be specified. need be specified.
The word The word
.Cm play .Ic play
can be omitted or the characters can be omitted or the characters
.Dq + .Ic +
and and
.Dq - .Ic -
can be used in the can be used in the
place of place of
.Cm next .Ic next
and and
.Cm prev . .Ic prev .
.Bl -tag -width Cm .Bl -tag -width indent
.It Cm play Ar first_track Op Ar last_track .It Ic play Ar first_track Op Ar last_track
Play from track Play from track
.Ar first_track .Ar first_track
to track to track
.Ar last_track . .Ar last_track .
The first track has number 1. The first track has number 1.
Can be omitted in all cases. Can be omitted in all cases.
.It Cm play Xo .It Xo
.Ic play
.Ar start_m : Ns Ar start_s . Ns Ar start_f .Ar start_m : Ns Ar start_s . Ns Ar start_f
.Oo Ar end_m : Ns Ar end_s . Ns .Op Ar end_m : Ns Ar end_s . Ns Ar end_f
.Ar end_f Oc
.Xc .Xc
Play from the absolute address Play from the absolute address
(MSF) defined by (MSF) defined by
@ -82,112 +89,109 @@ in minutes,
.Ar end_s , .Ar end_s ,
in seconds and in seconds and
.Ar end_f .Ar end_f
(frame number). Minutes are in the range 0-99. (frame number).
Minutes are in the range 0-99.
Seconds are in the range 0-59. Seconds are in the range 0-59.
Frame numbers are in the range 0-74. Frame numbers are in the range 0-74.
.It Cm play Op Ar #start_block Op length .It Ic play Op # Ns Ar start_block Op Ar length
Play starting from the logical block Play starting from the logical block
.Ar start_block .Ar start_block
using using
.Ar length .Ar length
logical blocks. logical blocks.
.It Cm next Op Ar tracks .It Ic next Op Ar tracks
Skip forward a number of tracks (default 1). Skip forward a number of tracks (default 1).
.It Cm prev Op Ar tracks .It Ic prev Op Ar tracks
Skip backward a number of tracks (default 1). Skip backward a number of tracks (default 1).
.It Cm pause .It Ic pause
Stop playing. Stop playing.
Do not stop the disc. Do not stop the disc.
.It Cm resume .It Ic resume
Resume playing. Resume playing.
Used after the Used after the
.Em pause .Ic pause
command. command.
.It Cm stop .It Ic stop
Stop the disc. Stop the disc.
.It Cm eject .It Ic eject
Eject the disc. Eject the disc.
.It Cm close .It Ic close
Inject the disc. Inject the disc.
.It Cm volume Ar left_channel Ar right_channel .It Ic volume Ar left_channel right_channel
Set the volume of left channel to Set the volume of left channel to
.Ar left_channel .Ar left_channel
and the volume of right channel to and the volume of right channel to
.Ar right_channel . .Ar right_channel .
Allowed values are in the range 0-255. Allowed values are in the range 0-255.
.It Cm volume Ar mute .It Ic volume Cm mute
Turn the sound off. Turn the sound off.
.It Cm volume Ar mono .It Ic volume Cm mono
Set the mono mode. Set the mono mode.
.It Cm volume Ar stereo .It Ic volume Cm stereo
Set the stereo mode. Set the stereo mode.
.It Cm volume Ar left .It Ic volume Cm left
Play the left subtrack on both left and right channels. Play the left subtrack on both left and right channels.
.It Cm volume Ar right .It Ic volume Cm right
Play the right subtrack on both left and right channels. Play the right subtrack on both left and right channels.
.It Cm info .It Ic info
Print the table of contents. Print the table of contents.
.It Cm status Xo .It Ic status Op Cm audio | media | volume
.Op Ar audio | media | volume
.Xc
Print the information about the disc: Print the information about the disc:
.Pp .Pp
.Bl -tag -width "volume" -compact .Bl -tag -width ".Cm volume" -compact
.It Ar audio .It Cm audio
the current playing status and position the current playing status and position
.It Ar media .It Cm media
the current media catalog status the current media catalog status
.It Ar volume .It Cm volume
the current values of the volume for left and right channels. the current values of the volume for left and right channels.
.El .El
.It Cm cdid .It Ic cdid
Display the serial number of the cd using the method used by the Display the serial number of the CD using the method used by the
cddb (http://www.cddb.org/) project. .Tn CDDB
.It Cm help project
.Pq Pa http://www.cddb.org/ .
.It Ic help
Print the list of available commands. Print the list of available commands.
.It Cm debug Ar on .It Ic debug Cm on
Enable the debugging mode of the CD device driver. Enable the debugging mode of the CD device driver.
.It Cm debug Ar off .It Ic debug Cm off
Disable the driver debugging mode. Disable the driver debugging mode.
.It Cm reset .It Ic reset
Perform the hardware reset of the device. Perform the hardware reset of the device.
.It Cm set Ar msf .It Ic set Cm msf
Set minute-second-frame ioctl mode (default). Set minute-second-frame ioctl mode (default).
.It Cm set Ar lba .It Ic set Cm lba
Set LBA ioctl mode. Set LBA ioctl mode.
.It Cm speed Ar s .It Ic speed Ar s
Set the highest speed that the drive should use. The speed is a multiple of Set the highest speed that the drive should use.
the single speed. This command is currently only supported on ATAPI drives. The speed is a multiple of the single speed.
.It Cm quit This command is currently only supported on ATAPI drives.
.It Ic quit
Quit the program. Quit the program.
.El .El
.Sh ENVIRONMENT .Sh ENVIRONMENT
The following environment variables affect the execution of The following environment variables affect the execution of
.Nm : .Nm :
.Pp .Bl -tag -width ".Ev CD_DRIVE"
.Bl -tag -width CD_DRIVE -compact
.It Ev CDROM .It Ev CDROM
The cd device to use if one isn't specified with the The CD device to use, if one is not specified with the
.Fl f .Fl f
flag. option.
.Pp .It Ev CDPLAY , CD_DRIVE , DISC , MUSIC_CD
.It Ev CDPLAY
.It Ev CD_DRIVE
.It Ev DISC
.It Ev MUSIC_CD
These variables have been deprecated in favour of These variables have been deprecated in favour of
.Ev CDROM . .Ev CDROM .
.El .El
.Sh FILES .Sh FILES
.Bl -tag -width /dev/mcd0c -compact .Bl -tag -width ".Pa /dev/mcd0c" -compact
.It Pa /dev/cd0c .It Pa /dev/cd0c
.It Pa /dev/mcd0c .It Pa /dev/mcd0c
.It Pa /dev/acd0c .It Pa /dev/acd0c
.El .El
.Sh AUTHORS .Sh AUTHORS
.An Jean-Marc Zucconi , .An Jean-Marc Zucconi
.An Andrey A.\ Chernov , .An Andrey A. Chernov
.An Serge V.\ Vakulenko .An Serge V. Vakulenko
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm