summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
AgeCommit message (Collapse)Author
2009-06-09try to get "play" right; help/ok naddyJason McIntyre
2009-06-03Synchronize man page and help output.Christian Weisgerber
From a least of details by sobrado@; input by jmc@ who still isn't happy.
2009-04-10Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does.Alexandre Ratchov
discussed with jmc@
2009-04-10don't use the AUDIODEVICE env. variable because sio_open(3) alreadyAlexandre Ratchov
does it. From Anathae Townsend <atownsend(at)nucleus.com>, thanks!
2009-02-07Restore the original help output: capitalize the characters thatChristian Weisgerber
are required to uniquely identify a command. Three characters are required for the cdplay and cdrip commands. ok krw@
2008-12-28set the buffer size using the ``appbufsz'' parameter ofAlexandre Ratchov
sio_setpar(3). Allows cdio to be used with aucat(1) whatever the buffer size used by aucat is. ok jakemsr
2008-12-11don't try to sio_close a NULL sio_hdl. stops cdio from segfaultingJacob Meuser
when /dev/audio is busy or AUDIODEVICE is not set correctly. commit it! ratchov@
2008-11-29sndio for cdio (only for the "cdplay" command)Jacob Meuser
with a hint from ratchov@ ok av@
2008-10-29no need to warn about using the default device; Thomas PfaffTheo de Raadt
2008-08-30use a bitmap to store the features. simplify the code a bit and allow forFederico G. Schwindt
future work. ok av@ a similar diff.
2008-08-13Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RWav
write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch
2008-08-08o use definitions from cd.hFederico G. Schwindt
o remove unused function prototype
2008-07-23we really need unsigned in arithmetic operations.av
comments by fgsch
2008-06-30set speed for writing tracks in TAO.av
ok and tweaks by fgsch manual page by jmc
2008-06-24clarify tao's -a option; ok av fgschJason McIntyre
2008-06-23new sentence, new line;Jason McIntyre
2008-06-22Automatically distinguish between CD-DA track and WAVE audio file writing themav
in TAO mode. For WAVE files we should skip header. ok and comments by fgsch
2008-06-11move tao code from main() into its own function before adding features.av
requested and ok fgsch
2008-06-08check whether media supports TAO or blanking.av
It makes error output nicer, e.g.: "The media can't be written in TAO mode" instead of "cdio: Only 0 of the required _N_ blocks available" ok fgsch
2008-06-08add ability to determine media capabilities (what we can do with media).av
ok fgsch
2008-06-06Make open_cd() remember open mode. "blank" doesn't have to check for EPERMav
anymore. idea by jakemsr ok jakemsr ratchov fgsch (with tweaks)
2008-05-30cdio's blank command blanked CD twise. Fixed.av
ok jakemsr krw millert ratchov
2008-05-07correct duration by taking the pre-gap into account; ok by many.Federico G. Schwindt
2008-04-30add two missing prototypes.Federico G. Schwindt
2008-04-27o if no argument is passed to cddbinfo, treat it as 0 in order to printFederico G. Schwindt
the list in case of multiple/inexact matches o if the argument to cddb is invalid, do not exit, just print and error and ignore the command espie@ ok.
2007-11-12make TOC greppable;Jason McIntyre
2007-09-10Make sure we don't skip the code which sends the QUIT command to the CDDBChad Loder
server and validates the returned track names. Unreachable code spotted by lint. OK krw@, deraadt@, espie@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-02exit when /dev/audio can't be opened.Jacob Meuser
from Alexey Vatchenko <av@bsdua.org> ok theo
2007-07-31make rip code work like mmc code for how it does progress reports (useTheo de Raadt
a timer, so that stderr does not get splattered); tested by xsa and others
2007-07-22lexicographically sorts the list of commandsIgor Sobrado
ok jmc@
2007-07-20- document the "play" default a little more clearlyJason McIntyre
- document the difference between "play" and "cdplay" more clearly ok mjc
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29fix some list items; from andresJason McIntyre
2007-05-29reorder code so that the wave header gets the size of the current trackMichael Coulter
instead of the previous track. Alexey Vatchenko agrees.
2007-05-28the device fd is global. no need to pass it between functions.Michael Coulter
2007-05-27more stuff needed to make sparc64 work. what else is still busted?Theo de Raadt
2007-05-26work around stupid trust of the namespace; millert please look at the ↵Theo de Raadt
problem on macppc
2007-05-26cdrip and cdplay commands from Alexey VatchenkoMichael Coulter
incorporating some manpage suggestions from jmc@
2007-05-01use strtonum; ok millert@Jason Dixon
2007-03-26fix wording for `replay'; from AndrAcsJason McIntyre
2007-03-18/dev/rcd0d -> /dev/rcd0c; from AndrAcsJason McIntyre
2006-10-12document environment var CDROM; from ross l richardson (pr #5258)Jason McIntyre
i used a different fix, and merged the CDROM stuff into DISC. whilst in there, document the default if neither is given. ok mjc
2006-08-28fix up disc size check.Michael Coulter
ok krw@ deraadt@
2006-08-26/* $OpenBSD $*/ -> /* $OpenBSD$ */Kenneth R Westerback
2006-08-26print updates on the same line, per second, as we go along writing, inTheo de Raadt
the following form: track 01 'd' 00328891/00328891 100% checked lots, but nobody replied to my mail...
2006-08-25spacingTheo de Raadt
2006-08-24spacingTheo de Raadt
2006-06-27add message on session closeMichael Coulter
2006-06-27improve output during cd writing; ok mjcTheo de Raadt