David E. O'Brien
757eeda04b
*** empty log message ***
2001-10-01 08:43:58 +00:00
David E. O'Brien
a0bff42be6
Fix some nits I missed in my style cleanup.
2001-07-20 15:33:04 +00:00
David E. O'Brien
90e655ea4e
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
David E. O'Brien
ac24b049cc
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
a4c37c816b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
Kris Kennaway
4dbed42f75
Add the 'next' and 'prev' commands (aliased to '+' and '-') which skip
...
forward or backward by a specified number of tracks (defaulting to 1).
Use strvisx() to display the media catalog in case it contains unprintable
characters. Sort includes. Based on two patches submitted by PR, plus
style fixes and other changes of my own.
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>, Maxime Henrion <mux@qualys.com>
PR: bin/22672, bin/26962
MFC After: 1 week
2001-05-25 09:24:50 +00:00
Josef Karthauser
b074e88895
Don't complain about deprecated environment variables, like MUSIC_CD,
...
being present in the environment if the user has CDROM defined, or
has specified a device on the command line.
This avoids users of ports like 'workman' that use these variables
getting gratuitous warnings from cdcontrol.
Suggested by: John Sellens <jsellens@generalconcepts.com>
2001-04-08 21:35:17 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Ruslan Ermilov
610a5778c5
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
Ruslan Ermilov
736bc1b8dd
mdoc(7) police: removed empty line (mdocNG does not like them),
...
columnate ENVIRONMENT variables.
2001-01-17 08:32:08 +00:00
Josef Karthauser
bb44f0089b
Deprecate the use of the CD_DRIVE, CDPLAY, DISC and MUSIC_CD environment
...
variables in favour of CDROM.
Discussed on: stable@FreeBSD.org
2001-01-16 20:31:53 +00:00
Josef Karthauser
202b18cdaa
Describe that the CDROM environment variable now affects which
...
device is used by default.
2001-01-14 16:29:24 +00:00
Ruslan Ermilov
8b5c4af3ff
Prepare for mdoc(7)NG.
2000-12-27 15:30:30 +00:00
Dag-Erling Smørgrav
9dd4b5a781
If no device is specified, check the CDROM environment variable before
...
picking the default device.
2000-12-18 14:35:54 +00:00
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