DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Simple input and output

Bells, whistles, and flashing lights: beep and flash

Occasionally, you may want to get a user's attention. Two low-level ETI routines are designed to help you do this--they let you ring the terminal's chimes and flash its screen.

flash flashes the screen if possible, and otherwise rings the bell. Flashing the screen is intended as a bell replacement, and is particularly useful if the bell bothers someone within ear shot of the user. The routine beep can be called when a real beep is desired. (If for some reason the terminal is unable to beep, but able to flash, a call to beep will flash the screen.)

SYNOPSIS

   #include <ocurses.h>
   

int flash() int beep()

NOTES
Next topic: Input options
Previous topic: init_color

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004