Commit Graph

40 Commits

Author SHA1 Message Date
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov
e97407b4f2 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
Josef Karthauser
241f197320 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
Stephen McKay
faeff70b73 Fix the ^D -> core dump problem properly. ^D == "quit" again. 2000-07-13 12:55:50 +00:00
Mike Smith
49eb60e70f Don't do anything with /dev/rXXX 2000-05-31 01:03:26 +00:00
Kris Kennaway
b7eea0fed1 Update device names. 2000-05-07 09:50:44 +00:00
Sheldon Hearn
4e86fcacf6 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
Sheldon Hearn
f2e366a105 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
Josef Karthauser
3712337aef Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
Ollivier Robert
b5ee3fc069 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 Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Matthew N. Dodd
0b2d7c2ffc 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
Matthew N. Dodd
43d79ae9ef Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
Matthew N. Dodd
1950bb45f3 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
Bill Fumerola
787569e61c (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
Bill Fumerola
e8015b0f00 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
Steve Price
8c0b8289ef 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
Jean-Marc Zucconi
0d6515cde0 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
Philippe Charnier
f51758d62c Typo. 1998-01-07 07:43:04 +00:00
Philippe Charnier
18970b8398 Use Pa for files and Ar for arguments. 1997-12-08 07:43:13 +00:00
Wolfram Schneider
f6b31571f6 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
Philippe Charnier
dd1f44fc09 Use err(3). Style in usage(). 1997-09-04 11:52:28 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5 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
Wolfram Schneider
e83201b43a delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
Mike Pritchard
85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
Andrey A. Chernov
72cf78e0b8 Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
Andrey A. Chernov
8fd5ebe3b0 LBA addition to new commands 1996-02-09 01:16:23 +00:00
Andrey A. Chernov
494c6817f8 Integrate vak fixes, mostly command parsing & cosmetic
Submitted by: vak@cronyx.ru
1996-02-09 00:22:17 +00:00
Andrey A. Chernov
219913d08e Print out media catalog number, if exists 1996-02-03 15:21:30 +00:00
Andrey A. Chernov
61c728296d Request/print out media catalog validation info in status command 1996-02-03 15:07:32 +00:00
Andrey A. Chernov
5f0f376b27 Implement several new commands 1996-02-03 14:13:36 +00:00
Andrey A. Chernov
fccbca1d40 Don't mask last track number with end word, better be shure that it is 170 1996-02-02 22:14:39 +00:00
Andrey A. Chernov
aeb13d5b74 Implement 'inject' command 1996-02-02 22:03:37 +00:00
Andrey A. Chernov
3017478d1c Back out my control->addr_type change, need to be fixed in another place 1996-02-02 20:46:46 +00:00
Andrey A. Chernov
b8be555bd4 Fix user input parser, play command even not work in old variant 1996-02-01 19:09:50 +00:00
Andrey A. Chernov
6f4dc255bf Wrong field was used to determine audio/data disks 1996-02-01 17:17:28 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Andrey A. Chernov
2f3cc4bf87 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
Jordan K. Hubbard
eae0c0a88b 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