Use Pa for files and Ar for arguments.

This commit is contained in:
Philippe Charnier 1997-12-08 07:43:13 +00:00
parent 81e04eaec0
commit 18970b8398
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31623

View File

@ -1,4 +1,4 @@
.\" $Id: cdcontrol.1,v 1.11 1997/09/04 11:52:26 charnier Exp $
.\" $Id: cdcontrol.1,v 1.12 1997/09/13 16:01:48 wosch Exp $
.\"
.Dd July 3, 1995
.Dt CDCONTROL 1
@ -15,7 +15,10 @@
.Sh DESCRIPTION
.Nm Cdcontrol
is a program to control audio features of a CD drive. The device is a name such
as cd0 or mcd0.
as
.Pa cd0
or
.Pa mcd0 .
.Pp
If the device not specified, the environment variable
.Ev DISC
@ -26,54 +29,59 @@ If no command is given, then
enters an interactive mode, reading commands from the standard input.
.Pp
The following options are available:
.Bl -tag -width flag
.Bl -tag -width indent
.It Fl s
Silent mode - do not print table headers and human readable comments.
.It Fl v
Verbose mode - print as much information as possible.
.It Fl f Ar discname
Specifies a device name, such as /dev/cd0c or mcd0.
Both absolute path and relative to /dev filename are possible.
Specify a device name, such as
.Pa /dev/cd0c
or
.Pa mcd0 .
Both absolute path and relative to
.Pa /dev
filename are possible.
Suffix `c' is added to the device name if needed.
.El
.Pp
The available commands are listed below. Only as many
characters as are required to uniquely identify a command
need be specified. Word
.Nm play
.Em play
can be omitted.
.Bl -tag -width Cm
.It Cm play Ar first_track Op Ar last_track
Play from track
.Nm first_track
.Ar first_track
to track
.Nm last_track.
.Ar last_track.
The first track has number 1.
can be omitted in all cases.
Can be omitted in all cases.
.It Cm play Ar start_m:start_s.start_f Op Ar end_m:end_s.end_f
Play from the absolute address
(MSF) defined by
.Nm start_m
.Ar start_m
in minutes,
.Nm start_s,
.Ar start_s ,
in seconds and
.Nm start_f
.Ar start_f
(frame number) to the absolute address defined by
.Nm end_m
.Ar end_m
in minutes,
.Nm end_s,
.Ar end_s ,
in seconds and
.Nm end_f
.Ar end_f
(frame number). Minutes are in the range 0-99. Seconds are in the range 0-59.
Frame numbers are in the range 0-74.
.It Cm play Op Ar #start_block Op length
Play starting from the logical block
.Nm start_block
.Ar start_block
using
.Nm length
.Ar length
logical blocks.
.It Cm pause
@ -81,8 +89,8 @@ Stop playing. Do not stop the disc.
.It Cm resume
Resume playing. Used after the
.Nm pause
command.
.Em pause
command.
.It Cm stop
Stop the disc.
@ -95,9 +103,9 @@ Inject the disc.
.It Cm volume Ar left_channel Ar right_channel
Set the volume of left channel to
.Nm left_channel
.Ar left_channel
and the volume of right channel to
.Nm right_channel.
.Ar right_channel .
Allowed values are in the range 0-255.
.It Cm volume Ar mute
@ -152,9 +160,9 @@ Quit the program.
.It Pa /dev/rwcd0c
.El
.Sh AUTHORS
Jean-Marc Zucconi,
Andrey A.\ Chernov,
Serge V.\ Vakulenko
.An Jean-Marc Zucconi ,
.An Andrey A.\ Chernov ,
.An Serge V.\ Vakulenko
.Sh HISTORY
The
.Nm