Advertisement

noob question

Started by May 04, 2003 02:16 PM
3 comments, last by 666_1337 21 years, 8 months ago
sry for this noob question in windows there is a function called Beep that does what it''s name sais. is there such a function for linux?
our new version has many new and good features. sadly, the good ones are not new and the new ones are not good
i think you can use printf("\a"); to acheive the same effect (in c of course)

--Spencer

"Relax, this dragon is sleeping..."
--Spencer"All in accordance with the prophecy..."
Advertisement
...
beeping with printf("\a") can surely be used if the program''s stdout is a bash or exterm. but if i start to programm to write to a file?
our new version has many new and good features. sadly, the good ones are not new and the new ones are not good
Look here for the source of the program "Beep".
Problems with Windows? Reboot! - Problems with Linux? Be root!
There are many many better ways to beep than this... but there is a program called "beep" in linux... I don''t know if it''s included with most distro''s or not, but it''s on my system. You could run the program from within your program, but like I said, there are a LOT of better ways

I only mention this because I''ve found it very useful for adding beeps to shell scripts.
Shoot Pixels Not People

This topic is closed to new replies.

Advertisement