#!/usr/local/bin/cdplay -file # # cdplay.t -- tcl/tk script for playing a cdrom as an audio device # on HP PA_RISC machines using HPUX >= 8.05 # # It may work on other HP configurations also but I have # not tested it # # to run the player do.. # # ./cdplay -file cdplay.t & # # or modify the top line of this script and make it executable # # the cdplay binary should be in the tar file you extracted this from # # this script that /dev/cdaudio is the name of the cd audio device # so (as root) do something like # # ln /dev/rdsk/3s0 /dev/cdaudio # chmod +rw /dev/cdaudio # # or edit the line below these comments to be something like # # set Player "/dev/rdsk/3s0" # # the protections on your cd device may be such that you have to # run cdplay as root if you do not chmod the device. # # This is just a bit of hackery I did between compiles of other # stuff so it is a bit on the scatter brained side. # # left button on the Track button goes to the next track # middle button on the Track button goes to the first # right button on the Track button goes to the previous track # # the operation of the rest of the window should is obvious # # quitting the window leaves the player running. you can then restart # the window as if you never exited. # # if you add any neat things to this script let me know # # mike hoegeman, mh@awds.ismd.contel.com #