Commit Graph

38 Commits

Author SHA1 Message Date
joe
d4d176feb2 Add a new command, 'cdid', to calculate and display a serial number
for a cd, using the algorithm that the cddb database uses.

Submitted by:	Sergey Shkonda <serg@bcs.zp.ua>
2000-07-13 22:56:43 +00:00
mckay
710dfebe31 Fix the ^D -> core dump problem properly. ^D == "quit" again. 2000-07-13 12:55:50 +00:00
msmith
2a57dc9127 Don't do anything with /dev/rXXX 2000-05-31 01:03:26 +00:00
kris
0d6c516ff3 Update device names. 2000-05-07 09:50:44 +00:00
sheldonh
c0e8952a50 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
840cf958b8 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
joe
fd40eb3b2f Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
roberto
c44ac4b9c9 Stop run() from dereferencing a NULL pointer when you enter a valid command
then a ^D at the prompt.

cdcontrol> play 1 14
cdcontrol>
zsh: 40874 segmentation fault (core dumped)  /usr/sbin/cdcontrol -f /dev/cd1c
1999-11-18 23:04:38 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mdodd
1bdbdefa3d What the heck was I thinking? Nobody else saw this? Sheesh.
(num > MAX) ? MAX : num

rather than

(MAX > num) ? MAX : num

Also, make things a little easier to read while I'm here.
1999-08-20 01:24:35 +00:00
mdodd
23a6694192 Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
mdodd
203aa2011f Add support for command line editing and history.
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
1999-08-19 03:29:15 +00:00
billf
a16f548fb3 (1) Make usage() and SYNOPSIS agree with each other.
(2) Use 'device' instead of 'device name', there seems to be a precedent in
    /usr/share/man/man1

Prompted By:	bde
1999-01-31 15:30:21 +00:00
billf
6c588d74d7 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
steve
1513749ca0 Mention all the environment variables that can be used
to specify the device.

PR:		6927
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-06-13 19:28:51 +00:00
jmz
ac5af2af2d The status command prints the audio position, the media catalog and the
volume value for the disc. It is now possible to specify additional arguments
(audio, volume, media) to print only a subset of the full status.
This is particularly useful with drives which stop playing when asked to
return the catalog number.
1998-01-26 00:57:54 +00:00
charnier
7af4ae59d7 Typo. 1998-01-07 07:43:04 +00:00
charnier
13bcd4bb42 Use Pa for files and Ar for arguments. 1997-12-08 07:43:13 +00:00
wosch
07b6e5147d spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
charnier
32af9f285a Use err(3). Style in usage(). 1997-09-04 11:52:28 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
0afb8360fb delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
ache
ad8e47de1d Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
ache
0e374c950a LBA addition to new commands 1996-02-09 01:16:23 +00:00
ache
c8bb1193be Integrate vak fixes, mostly command parsing & cosmetic
Submitted by: vak@cronyx.ru
1996-02-09 00:22:17 +00:00
ache
df1b17cd03 Print out media catalog number, if exists 1996-02-03 15:21:30 +00:00
ache
f3825302be Request/print out media catalog validation info in status command 1996-02-03 15:07:32 +00:00
ache
acf283412a Implement several new commands 1996-02-03 14:13:36 +00:00
ache
b3f99f6b81 Don't mask last track number with end word, better be shure that it is 170 1996-02-02 22:14:39 +00:00
ache
88691922e4 Implement 'inject' command 1996-02-02 22:03:37 +00:00
ache
67046bc238 Back out my control->addr_type change, need to be fixed in another place 1996-02-02 20:46:46 +00:00
ache
2b5c6dd79f Fix user input parser, play command even not work in old variant 1996-02-01 19:09:50 +00:00
ache
2a7404ee6c Wrong field was used to determine audio/data disks 1996-02-01 17:17:28 +00:00
mpp
029ea9012d Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
ache
88c44f460a Use starting track 0 for READTOCENTRYS, should be converted
to real starting track in CD driver.
Old code assume that starting track is always 1.
1996-01-30 12:00:43 +00:00
jkh
1e0b9e1621 Add the cdcontrol program by Serge Vakulenko. It's my understanding
that this is a superset of cdplay, and perhaps it's time to send cdplay
into the bit bucket if this works well.  According to the docs, it has
a friendlier command structure, command line interface etc.
Submitted by:	Serge Vakulenko <vak@cronyx.ru>
1995-08-18 11:41:32 +00:00