beep, flash - curses bell and screen flash routines
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.
These routines return OK if they succeed in beeping or flashing, ERR otherwise.
SVr4's beep and flash routines always returned OK, so it was not possible to tell when the beep or flash failed.
These functions are described 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(3) Library Functions Manual curs_beep(3)NAME
curs_beep, beep, flash - Curses bell and screen flash routines
void ); int flash(
Curses Library (libcurses)
Interfaces documented on this reference page conform to industry standards as follows:
beep, flash: XCURSES4.2
Refer to the standards(5) reference page for more information about industry standards and associated tags.
The beep and flash routines are used to alert the terminal user. The routine beep sounds the audible alarm on the terminal, if possible. If
an audible alarm is not possible, the routine flashes the screen (visible bell), if possible.
The routine flash flashes the screen, and if that is not possible, sounds the audible alarm.
If neither an audible or visual signal is possible, these routines produce no results. Nearly all terminals have an audible signal (bell or
beep), but only some can flash the screen.
The header file <curses.h> automatically includes the header file <stdio.h>.
These routines always return OK.
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)
thx a lot
Pre▀y (1 Reply)
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)
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)
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)
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)
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)
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)
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)
Creating an audio WAVE file called...
...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)
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)