*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> beep (3)              
Title
Content
Arch
Section
 

curs_beep(3X)

Contents


NAME    [Toc]    [Back]

       beep, flash - curses bell and screen flash routines

SYNOPSIS    [Toc]    [Back]

       #include <curses.h>

       int beep(void);
       int flash(void);

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       These routines return OK if they succeed in beeping  or	flashing,  ERR
       otherwise.

EXTENSIONS    [Toc]    [Back]

       SVr4's beep and flash routines always returned OK, so it was not possible
 to tell when the beep or flash failed.

PORTABILITY    [Toc]    [Back]

       These functions are defined in the XSI Curses standard, Issue 4.   Like
       SVr4, it specifies that they always return OK.

SEE ALSO    [Toc]    [Back]

      
      
       curses(3X)



								 curs_beep(3X)
beep(BLT 2.4)							 beep(BLT 2.4)



______________________________________________________________________________

NAME    [Toc]    [Back]

       beep - ring the bell

SYNOPSIS    [Toc]    [Back]

       beep ?percent?
______________________________________________________________________________

DESCRIPTION    [Toc]    [Back]

       The  beep  command rings the keyboard bell.  Percent is relative to the
       base volume of the keyboard bell and can range from -100 to 100	inclusive.


       If percent is nonnegative then the bell volume is:

	      base - [(base * percent) / 100] + percent

       If percent is negative then the bell volume is:

	      base + [(base * percent) / 100]

       The default percent is 50.

EXAMPLE    [Toc]    [Back]

	      beep

KEYWORDS    [Toc]    [Back]

       bell, beep



								 beep(BLT 2.4)
[ Back ]
 Similar pages
Name OS Title
curs_beep IRIX curses bell and screen flash routines
initscr Tru64 Curses routines for screen initialization and manipulation
newterm OpenBSD curses screen initialization and manipulation routines
isendwin Tru64 Curses routines for screen initialization and manipulation
endwin FreeBSD curses screen initialization and manipulation routines
delscreen FreeBSD curses screen initialization and manipulation routines
curs_initscr OpenBSD curses screen initialization and manipulation routines
curs_initscr FreeBSD curses screen initialization and manipulation routines
newterm Tru64 Curses routines for screen initialization and manipulation
delscreen Tru64 Curses routines for screen initialization and manipulation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service