[go: up one dir, main page]

File: cdown.1

package info (click to toggle)
cdtool 2.1.5-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 316 kB
  • ctags: 185
  • sloc: ansic: 2,375; makefile: 181; sh: 134
file content (78 lines) | stat: -rw-r--r-- 1,887 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.TH CDOWN 1 13-July-1998 LOCAL "Unix Programmer's Manual"
.\" manual page copyright 1994 thomas insel
.\" copyright 1998 Wade Hampton and Byron Ellacott
.\" $Id$
.SH NAME
cdown \- query cddb database for info on a disc
.SH SYNOPSIS
.nf
\fBcdown\fR     
\fBcdown\fR     [-[0..9]|-d device] [-H H] [-P P] [-V|-?|-h]

.fi
.SH DESCRIPTION
The
.I cdown
command is a command to query the CD-ROM for track information, 
use this to fetch information on this CD-ROM from the CDDB
databases (freedb.freedb.org), and then output the information in 
a form suitable for cdir(1).

.I cdown 
prints the information it downloads on stdout, in a format
suitable for appending to .cdtooldb.  Should there be an
uncertainty as to which CD-ROM information it should download,
it prints a list of alternatives to stderr and prompts for 
the user to select one.

A network connection is required for this to operate properly.

.SH OPTIONS
.RS
.IP "\fB-d device\fR"
specify the cdrom device
.IP "\fB-H host\fR"
get database using HOST (def=freedb.freedb.org)
.IP "\fB-P port\fR"
get database using PORT (def=888)
.IP \fB-l\fR
list available cddb hosts
.IP \fB-[1..9]\fR
specify /dev/cdromN (def=/dev/cdrom)
.IP \fB-r\fR
output raw answer of the CDDB server
.IP \fB-v\fR
verbose output
.IP \fB-V\fR
print version, exit
.IP \fB-[?|h]\fR
print help, exit
.RE

.SH FILES
.B ~/.cdtooldb 
- default database file.
.SH ENVIRONMENT
.B CDTOOLDBPATH 
- colon delimited path of database files to search.  It is not necessary to 
specify 
.BR ~/.cdtooldb , 
as this is automatically added to the end of the search path.
.PP
.B CDTOOLDEV 
- device file for cd-rom, overrides compile-time defaults.
.B CDDBHOST
- host to query, overrides compile-time default
.SH SEE ALSO
cdir(1)
.SH AUTHORS
.nf
Main code:
.RS
Bryon Ellacott <rodent@homer.humbug.org.au>
.RE
Enhancements:
.RS
Wade Hampton <whampton@staffnet.com>
.RE
.fi