• Advertisement

Archived

This topic is now archived and is closed to further replies.

noob question

This topic is 5463 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
i think you can use printf("\a"); to acheive the same effect (in c of course)

--Spencer

"Relax, this dragon is sleeping..."

Share this post


Link to post
Share on other sites
...
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement