XBell man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XBell()								       XBell()

Name
  XBell – ring the bell.

Synopsis
  XBell(display, percent)
	Display *display;
	int percent;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDis‐
	   play().

  percent  Specifies the volume for the bell, relative to the base volume
	   set	with  XChangeKeyboardControl().	 Possible values are -100
	   (off), through 0 (base volume), to 100 (loudest) inclusive.

Description
  Rings the bell on the keyboard at a volume relative to the base volume,
  if possible.	percent can range from -100 to 100 inclusive (else a Bad‐
  Value error).	 The volume at which the bell is  rung	when  percent  is
  nonnegative is:
       volume = base - [(base * percent) / 100] + percent
  and when percent is negative:
       volume = base + [(base * percent) / 100]

  To change the base volume of the bell, set the bell_percent variable of
  XChangeKeyboardControl().

Errors
  BadValue  percent < -100 or percent >100.

See Also
  XAutoRepeatOff(),  XAutoRepeatOn(),  XChangeKeyboardControl(),  XGetDe‐
  fault(), XGetKeyboardControl(), XGetPointerControl().

Xlib - User Preferences						       XBell()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net