noob question
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?
i think you can use printf("\a"); to acheive the same effect (in c of course)
--Spencer
"Relax, this dragon is sleeping..."
--Spencer
"Relax, this dragon is sleeping..."
...
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?
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?
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.
I only mention this because I''ve found it very useful for adding beeps to shell scripts.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement