in reply to Bolero (just music)

Hmm, this didn't work for me on OpenBSD for some reason (and it looks pretty fun so I wish it did!)

What platform did you write this on? I'm guessing it has something to do with how BSD's /dev is set up. Any tips on getting this to work for me?

Replies are listed 'Best First'.
Re: Re: Bolero (just music)
by powerman (Friar) on Apr 24, 2002 at 08:42 UTC
    I use Linux.
    This script is very simple, so it's possible to test every part quickly.
    1. Check about beep work in shell: echo -e '\a'
    2. Check about dev work in shell: echo -e '\a' >/dev/beep
    3. Check about Time::HiRes work: comment out open BEEP... and select BEEP... and replace "\a" to just "a"
    WBR, Alex.
      Do you use RedHat? I am running Debian with some help... I tried the script and your tests and installed Time::HiRes, but I still got run-time errors. Then SO came up with an interesting fact: There's no /dev/beep included in the standard kernal. I'd made a file called /dev/beep that bolero printed to, but no device. erg. There is a program called beep that might be useful for this script though. It's at this website . Can't say I've looked too deeply at it, though.


      Updated: to fix stupid wording