summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
AgeCommit message (Collapse)Author
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-23Make man page reflect current reality of play command. jmc@ cleanedKenneth R Westerback
up version of my original diff. ok jmc@
2006-01-20Clean up command line parsing, don't accept trailing garbage, add inKenneth R Westerback
missing command line forms, zero variables that will not be filled in by a particular sscanf() call. Make 'play tr1 m1:s1 m2:s2' play from the point in time 'tr1 m1:s1' to the point in time 'm2:s2', instead of from 'tr1 m1:s1' for a period of m2:s2. Documenting this command is next. Closes last issues Juha Erkilla pointed out in PR #4957. Tested by Juha.
2006-01-17Fix malloc calculation to avoid memory bounds error. deraadt@ okAaron Campbell
2006-01-11Whitespace nits.Kenneth R Westerback
2006-01-10Fix issues with relative times, especially track # vs TOC indexKenneth R Westerback
confusion, noted by Juha Erkkila in PR #4957. Make code a lot clearer. Error out on out of range track numbers. Tested by Juha.
2006-01-09Add cmpmsf(). Use it to eliminate repeated code. No functional change.Kenneth R Westerback
2006-01-09Bring in toc2msf() from NetBSD's cdplay. Use it to eliminate repeatedKenneth R Westerback
code. No functional change.
2006-01-09Bring in addmsf() from NetBSD's cdplay. Use it to eliminate repeatedKenneth R Westerback
manual calculation. No functional change.
2005-12-31CDIOCREADTOCENTRYS adjusts lba information into host order, so thereKenneth R Westerback
is no need to to ntohl() on it again. CDIOCREADSUBCHANNEL does not put lba info into host order so just change that to a betoh32(). Noted by Juha Erkkila in PR #4957. ok pedro@
2005-12-21Remove an ambiguiity and make 'e' short for "eject". The short formTodd C. Miller
for "exit" is still "ex". OK krw@
2005-11-12more asprintf; ok dhill@mindcry.orgTheo de Raadt
2005-01-22add an exit command as an alias of quit; ok henning@Robert Nagy
2005-01-09Better error message for `device' command without arguments.Aleksander Piotrowski
help & ok miod@
2005-01-08New shortcuts for commands device (d) and debug (deb)Aleksander Piotrowski
go ahead espie@
2005-01-04add snprintf sanity check.Moritz Jodeit
ok millert@, henning@
2004-09-14sprinkle some ARGSUSED for table driven functionsTheo de Raadt
2004-07-30sort the list of available interactive commands to cdio, and clean up theirJason McIntyre
descriptions somewhat;
2004-07-30- sort optionsJason McIntyre
- missing full stop - uppercase `id' - add SEE ALSO; suggested by Alexey E. Suslikov - add `-d host:port' to usage()
2004-01-16fix printf formats, unsigned wants %uMarc Espie
okay millert@
2004-01-14A more classical and more readable getopt() loop, no functional change.Miod Vallat
ok espie@ millert@
2003-10-31New libedit api changes.Otto Moerbeek
Tested by djm@, mouring@, jmc@. ok deraadt@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-09Protect all get_line calls against null pointers.Marc Espie
Problem pointed out by Pedro Bastos, thanks Pedro.
2003-04-06Replace a strcpy and associated code with a snprintf whose returnKenneth R Westerback
value is checked. Replace an unhelpful usage() with a relevant error message if the argument buffer overflows. ok millert@
2003-03-13my style: length is size_t, not int.Marc Espie
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-02-18copyrights added;Jason McIntyre
Serge V. Vakulenko thanks espie@ for help
2003-02-13add libedit support.Federico G. Schwindt
from Pedro Bastos <pbastos at grad dot inf dot puc-rio dot br>, minus SMALL support. minor change by me. millert@ ok.
2002-12-14handle multiline replies from the server.Marc Espie
this actually happens on the 3.2 audio CD. ok millert@
2002-10-24- Add missing cdid command to cdio.1.Federico G. Schwindt
- Remove ambiguity between cddbinfo and cdid commands, so CD matches cddbinfo and CDI cdid. millert@ ok.
2002-05-19document default cdio connectionMarc Espie
2002-04-18Reuse cddb code to support FreeBSD new cdid command.Marc Espie
(who knows ? scripts might use it). ok fgs@, pval@
2002-04-18remove extra spaces, fix rcsid (noticed by millert)Marc Espie
2002-04-18KNFTheo de Raadt
2002-04-18Add cddb support.Marc Espie
2002-03-22Add missing prototypes.Marc Espie
Convert lba2msf definition to ANSI-style, so that it matches the prototype Old-style function declarations undergo argument promotion, and thus: void f(a) char a; {} actually matches void f(int a);
2002-03-21getopt returns -1, not EOF.Marc Espie
2002-03-20style(9)Marc Espie
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-10-28indentTheo de Raadt
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-08-14Stop fucking up display on Depeche Mode.Marc Espie
Ok miod@
2001-06-22use strlcpy vs strncpy+a[len-1]='\0'lebel
2000-12-24Get rid of undocumented -h option.Aaron Campbell
2000-12-24Get rid of ugly usage() output. People can read the man page to get a commandAaron Campbell
list. Sync the usage() with the man page.
2000-12-23Make cdio subject line more explicit (aaron & me)Marc Espie
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.