1.Dd August 8, 2002 2.Dt CDCTL 1 3.Os 4.Sh NAME 5.Nm cdctl, eject, pause 6.Nd "specify commands for autocd daemon control utility" 7.Sh SYNOPSIS 8.Nm cdctl 9.Op Fl h 10.Op Fl d Ar device 11.Op Fl s Ar socket 12.Op Ar command " ..." 13.Nm eject 14.Op Fl h 15.Op Fl d Ar device 16.Op Fl s Ar socket 17.Nm pause 18.Op Fl h 19.Op Fl d Ar device 20.Op Fl s Ar socket 21.Sh DESCRIPTION 22The 23.Nm cdctl 24is a utility for control 25.Xr autocd 8 26daemon. 27.Nm eject 28and 29.Nm pause 30is identical to ``autocd eject'' and ``autocd pause''. 31.Pp 32If no 33.Ar command 34is given, then 35.Nm cdctl 36enters an interactive mode, reading commands from the standard input. 37.Sh OPTIONS 38The following options are available: 39.Bl -tag -width indent 40.It Fl h 41display the 42.Nm cdctl 43help information. 44.It Fl d Ar device 45choose device for control. 46.It Fl s Ar socket 47path to a control socket. 48.El 49.Sh COMMANDS 50The following commands are supported: 51.Bl -tag -width indent 52.It Ic close 53Inject the disc. 54.It Ic cdid 55Display the serial number of the cd using the method used 56by the cddb (http://www.cddb.org/) project. 57.It Ic die 58Shutdown autocd. 59.It Ic disable 60Disable checks of current device. 61.It Ic eject 62Eject the disc. 63.It Ic enable 64Enable checks of current device. 65.It Ic help 66Get command list. 67.It Ic info 68Print the table of contents. 69.It Ic list 70List avaible devices. 71.It Ic listsaved 72Display list of saved positions. 73.It Ic load 74Load saved position for disc. Disc identified by cdid. 75.It Ic lockspeed Ar s 76Lock the highest speed that the drive should use for reading data. 77The units are multiples of a single speed CDROM (150 KB/s). 78Specify 0 to use unlock the drive's fastest speed. 79.It Ic next 80Play a next track. 81.It Ic play Op Ar first_track Op Ar last_track 82Play from track 83.Ar first_track 84to track 85.Ar last_track . 86The first track has number 1. 87.It Ic pause 88Pause or resume playing. 89.It Ic previous 90Play a previous track. 91.It Ic status 92Print the current playing status and position. 93.It Ic save 94Save current position. 95.It Ic speed Ar s 96Set the highest speed that the drive should use for reading data. 97The units are multiples of a single speed CDROM (150 KB/s). 98Specify 0 to use the drive's fastest speed. 99.It Ic stop 100Stop the disc. 101.It Ic version 102Get daemon version. 103.It Ic volume Op Ar volume 104Print or set the current playing volume. 105.El 106.Sh FILES 107.Bl -tag -width -compact 108.It Pa /tmp/autocd 109default location of a control socket. 110.Sh SEE ALSO 111.Xr autocd 8 , 112.Xr acdplay 1 113.Sh AUTHORS 114.An MATPOCKuH <KOT@MATPOCKuH.Ru> 115