MAN page from RedHat Other cdtool-2.1.5-1.i386.rpm
CDTOOL
Section: Unix Programmer's Manual (1)
Updated: 24-June-1998
Index NAME
cdtool - play and catalog audio CDROMs on CDROM drive(s)
SYNOPSIS
cdadd [-[0..9]|-d device]cdeject [-[0..9]|-d device] [-V|-?|-h]cdir -n [-[0..9]|-d device] [-r|-s|-t|-V|-?|-h]cdinfo [-[0..9]|-d device] [-a|-r|-s|-t|-v|-V|-?|-h]cdpause [-[0..9]|-d device] [-V|-?|-h]cdplay [-[0..9]|-d device] [start [stop]cdplay [-[0..9]|-d device] [+|- number]cdplay [-[0..9]|-d device] [start|stop|resume|eject|info|dir] cdplay [-[0..9]|-d device] [-V|-?|-h]cdstop [-[0..9]|-d device] [-V|-?|-h]cdshuffle [-[0..9]|-d device] [-V|-?|-h]
DESCRIPTION
The
cdaddcommand is a shell script which uses
cdir -tand assists users in adding a new entry to the
~/.cdtooldbdatabase file. It allows the user to edit a blank template database entry for the current compact disc, and then appends it to the file.
The cdejectcommand ejects the current compact disc.
Thecdircommand lists information about the currently loaded audio compact disc.In particular, it lists the lengths of all tracks. It also references the database files specified in theCDTOOLPATHDBenvironment variable and the~/.cdtooldbfile, which use a simplified version of the format used byworkman(1).If one of these files contains an entry for the current compact disc, cdir will print title, artist, and track name information.
- -n
- Do not lookup any information in the database files.
- -s
- Print information in a short format: only author, title, and currenttrack, all on one line.
- -t
- Print a template for the current cd, including title, artist, and track nameinformation if available. If blank lines are filled in, this can be appended to the~/.cdtooldbfile.
Thecdinfocommand, with no option used, will print out the audiostatus (playing, etc.).
- -a
- Print out the absolute disc time.
- -r
- Print out the relative track time.
- -s
- Print out the audiostatus.
- -t
- Print out the current track.
- -v
- All info: status track absolute relative.
The cdpausecommand pauses the currently playing compact disc. Resume by usingcdplaywith no arguments.
Thecdplaycommand plays the compact disc. If called with one argument, this isthe starting track number. If called with two arguments, these are thestarting and stopping track numbers. If the first argument is a+or-then skip the number of tracks given by the second argument forward or backward. If no second argument is give, skip one. A0as first argument or no argument replays current track.
Thecdstopcommand stops the compact disc, if it is playing.
The cdshufflecommand plays the audio tracks on the disc in random order.
The default device opened is /dev/cdrom. This default and othersmay be changed in config.h. Options supported by all programs are:
- -[0..7]
- Multiple cdrom support to open /dev/scd0../dev/scd7 [by default].
- -d
- Multiple cdrom support to open device
by name.- [-h|-?]
- Print out help for the command.
- -V
- Print out version information and build information.
FILES
~/.cdtooldb - default database file.
ENVIRONMENT
CDTOOLDBPATH - colon delimited path of database files to search. It is not necessary to specify
~/.cdtooldb,as this is automatically added to the end of the search path.
CDTOOLDEV - device file for cd-rom, overrides compile-time defaults.
SEE ALSO
cdctrl(1)
AUTHORS
Main code:
- Thomas Insel <tinselAATTtinsel.org>
Enhancements:
- Byron Ellacott <rodentAATThomer.humbug.org.au>Wade Hampton <whamptonAATTstaffnet.com>Lin Zhe Min <ljmAATTljm.wownet.net>Sven Oliver Moll <smol0075AATTrz.uni-hildesheim.de>Daniel R. Risacher <risacherAATTworldnet.att.net>
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- FILES
- ENVIRONMENT
- SEE ALSO
- AUTHORS
This document was created byman2html,using the manual pages.