CDPLAY.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH CDPLAY 1
- .SH NAME
- cdplay - play audio compact disks
- .SH SYNOPSIS
- fBcdplayfP [ -fBafP]|[-fBrfP]
- .SH DESCRIPTION
- fBCdplayfP is an audio-cdplayer it can be used interactively
- or non-interactively. With no flags fBcdplayfP is used interactively. When
- used interactively fBcdplayfP can be either in non-playing or playing mode.
- In non-playing mode you can select tracks to be played. In playing mode
- fBcdplayfP shows the track-time, remaining track-time, total-time and
- remaining total-time.
- fBCdplayfP assumes the drive to be at fI/dev/cd0fP.
- .PP
- During non-playing mode the following commands are available:
- .IP cursor-up/down
- browse through the track-list
- .IP spacebar
- add track to the play-list
- .IP backspace
- remove a track from the play-list
- .IP s
- start playing the tracks in the play-list. When the play-list is empty
- start playing from the current position in the track-list until the
- end of the cd
- .IP p
- play the track on the current position in the track-list
- .IP r
- play all tracks in a random order (shuffle play)
- .IP e
- exit cdplay
- .SH
- During playing mode the following commands are available:
- .IP s
- stop playing, return to non-playing mode
- .IP spacebar
- pause/resume current track
- .IP cursor-up/down
- skip to next/previous track
- .SH OPTIONS
- When one of these options is used fBcdplayfP does everything in the background.
- .IP -a
- Play all tracks, fBcdplayfP tells the drive to play all tracks and then it
- immediately returns to the user
- .IP -r
- Play all tracks in random order (shuffle play). fBCdplayfP forks of a new
- process which starts up a track, during that track it sleeps. When the track is
- finished it wakes up to start the next track and goes to sleep again. The
- parent process immediately returns to the user.
- .SH BUGS
- fBCdplayfP does not sense if a cd has changed, so don't switch cd's.
- If you want to play another cd you have to insert the new cd and start fBcdplayfP
- again.
- .SH AUTHOR
- Michel R. Prevenier (mrpreve@cs.vu.nl)