Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

beep(3x) [redhat man page]

curs_beep(3X)															     curs_beep(3X)

NAME
beep, flash - curses bell and screen flash routines SYNOPSIS
#include <curses.h> int beep(void); int flash(void); DESCRIPTION
The beep and flash routines are used to alert the terminal user. The routine beep sounds an audible alarm on the terminal, if possible; otherwise it flashes the screen (visible bell). The routine flash flashes the screen, and if that is not possible, sounds the alert. If neither alert is possible, nothing happens. Nearly all terminals have an audible alert (bell or beep), but only some can flash the screen. RETURN VALUE
These routines return OK if they succeed in beeping or flashing, ERR otherwise. EXTENSIONS
SVr4's beep and flash routines always returned OK, so it was not possible to tell when the beep or flash failed. PORTABILITY
These functions are defined in the XSI Curses standard, Issue 4. Like SVr4, it specifies that they always return OK. SEE ALSO
curses(3X) curs_beep(3X)

Check Out this Related Man Page

curs_beep(3CURSES)					     Curses Library Functions						curs_beep(3CURSES)

NAME
curs_beep, beep, flash - curses bell and screen flash routines SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ] #include <curses.h> int beep(void); int flash(void); DESCRIPTION
The beep() and flash() routines are used to signal the terminal user. The routine beep() sounds the audible alarm on the terminal, if pos- sible; if that is not possible, it flashes the screen (visible bell), if that is possible. The routine flash() flashes the screen, and if that is not possible, sounds the audible signal. If neither signal is possible, nothing happens. Nearly all terminals have an audible sig- nal (bell or beep), but only some can flash the screen. RETURN VALUES
These routines always return OK. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), attributes(5) NOTES
The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>. SunOS 5.11 31 Dec 1996 curs_beep(3CURSES)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing the frequency of that beeping sound

I was wondering how to change the frequency of the beeping sound to a more lower, 'darker' sound. The one I have now just drives me nuts. I'm using Slackware 8.0 (Linux 2.4.5) /JP (4 Replies)
Discussion started by: J.P
4 Replies

2. UNIX for Dummies Questions & Answers

no beep in shell??

hiho, who has an idea how i can tell my shell that it should not beep on errors or when i'm using the TAB in bash to complete noone needs to know when i make mistakes ;-) solaris 9 (SPARC) bash 2.05 thx a lot Preßy (1 Reply)
Discussion started by: pressy
1 Replies

3. HP-UX

Turn off awful beep

. (1 Reply)
Discussion started by: Driver
1 Replies

4. UNIX for Dummies Questions & Answers

Need to shut off beep

I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies

5. UNIX for Dummies Questions & Answers

How do I make 'tail -f' beep?

Hi, I'm moniroting numerous logs in my new job (tail -f JOE.log | grep ALERT) and I want to be able to make the Terminal BEEP when ever something comes up. Is this something I can do easily? Any help with the above (or an alternative) would be appreciated, so I can stop staring at the... (1 Reply)
Discussion started by: the_big_v
1 Replies

6. Linux

the old question: how to disable the beep ?

still the old question (didn't find the satisfied answer in the forum) how to disable the awful beep in linux workstation? i tried this: /etc/inputrc -〉set bell-style none but it can only disable the beep whenever you input wrongly in the console. in some othercases, i still can hear... (1 Reply)
Discussion started by: princelinux
1 Replies

7. UNIX for Dummies Questions & Answers

How to get ride of the BEEP in Solaris

Hello, I did a search on this forum and a global search to try and find out how to disable that annoying beep that you get when you mistype or hit the esc key in VI and i didn't have that problem last week. I'm using Solaris and bash shell and i've put these commands into my .profile file: ... (2 Replies)
Discussion started by: bobk544
2 Replies

8. Ubuntu

I can't make my pc speakers beep

I don't know why, but when I issue echo -e '\a' or beep. I get only some sound, set in my OS (Ubuntu Karmic). I tried to run these on Lenovo Y510KA and Lenovo S10-2. Is there another way to make my laptops beep?.. (3 Replies)
Discussion started by: Sapfeer
3 Replies

9. Slackware

System audible beep

I have tried everything with sounds on Slackware and after over a decade am at the end of it. I have uncommented /sbin/modprobe pcspkr in rc.modules. I have commented blacklist pcspkr in /etc/modprobe.d/blacklist.conf I have set bell-style audible in /etc/inputrc and I still can't get echo... (3 Replies)
Discussion started by: slak0
3 Replies

10. Solaris

System hangs (freezes) on system bell/beep

I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600. Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays. I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Discussion started by: DeadBadger
3 Replies

11. Programming

A Function To Create A 1 Second Sinewave WAVE Beep File In Python.

sinebeep.py Creating an audio WAVE file called... beep.wav ...that can be played using almost ANY audio player available. This simple DEMO snippet of code generates a 1 second sinewave WAVE file. It IS saved inside the CURRENT drawer so that you can find it... ;o) Note that the... (1 Reply)
Discussion started by: wisecracker
1 Replies

12. SCO

Sco UNIX wont boot - long beeps

HI All, I have an old SCO-UNIX machine which I support a long standing client / friend with. I don't use it very often, and is kept switched off. All was well 2 weeks ago, but when I tried to boot today all I get is a continuous set of long beeps but no booting. I have checked inside... (4 Replies)
Discussion started by: andy sleight
4 Replies