Commit Graph

42 Commits

Author SHA1 Message Date
ru
4bb5f49662 Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
des
9f7f4f99d4 If no device is specified, check the CDROM environment variable before
picking the default device.
2000-12-18 14:35:54 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
71e2293ad4 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
joe
4fa3dd4b5e 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
7b3c74238f Fix the ^D -> core dump problem properly. ^D == "quit" again. 2000-07-13 12:55:50 +00:00
msmith
e976c906e5 Don't do anything with /dev/rXXX 2000-05-31 01:03:26 +00:00
kris
8b4aef321a Update device names. 2000-05-07 09:50:44 +00:00
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
b2240fc1c0 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
3955613d85 Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
roberto
e5e1ccbdfe 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
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mdodd
add3f6325f 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
1e31ba6301 Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
mdodd
fb1440bad5 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
29aa2dd17b (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
d233a9d411 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
steve
c5ae8ade3e 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
96686a66db 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
f37df36bd1 Typo. 1998-01-07 07:43:04 +00:00
charnier
d6e75b7f8b Use Pa for files and Ar for arguments. 1997-12-08 07:43:13 +00:00
wosch
fde8a8ec46 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
charnier
8f89c97f8a Use err(3). Style in usage(). 1997-09-04 11:52:28 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
808a36ef65 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
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
ache
40797deb0e Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
ache
eca0ed1879 LBA addition to new commands 1996-02-09 01:16:23 +00:00
ache
346633f6e2 Integrate vak fixes, mostly command parsing & cosmetic
Submitted by: vak@cronyx.ru
1996-02-09 00:22:17 +00:00
ache
7bf1219d00 Print out media catalog number, if exists 1996-02-03 15:21:30 +00:00
ache
b2a974e602 Request/print out media catalog validation info in status command 1996-02-03 15:07:32 +00:00
ache
a768aedccd Implement several new commands 1996-02-03 14:13:36 +00:00
ache
d54012cef4 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
8b50fd992a Implement 'inject' command 1996-02-02 22:03:37 +00:00
ache
62a0fe7554 Back out my control->addr_type change, need to be fixed in another place 1996-02-02 20:46:46 +00:00
ache
4861dbe70d Fix user input parser, play command even not work in old variant 1996-02-01 19:09:50 +00:00
ache
3886ec630b Wrong field was used to determine audio/data disks 1996-02-01 17:17:28 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
ache
edbc3e1baf 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
d188097903 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