Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bell(n) [osx man page]

bell(n) 						       Tk Built-In Commands							   bell(n)

__________________________________________________________________________________________________________________________________________________

NAME
bell - Ring a display's bell SYNOPSIS
bell ?-displayof window? ?-nice? _________________________________________________________________ DESCRIPTION
This command rings the bell on the display for window and returns an empty string. If the -displayof option is omitted, the display of the application's main window is used by default. The command uses the current bell-related settings for the display, which may be modified with programs such as xset. If -nice is not specified, this command also resets the screen saver for the screen. Some screen savers will ignore this, but others will reset so that the screen becomes visible again. KEYWORDS
beep, bell, ring Tk 8.4 bell(n)

Check Out this Related Man Page

XDeviceBell(3)							    X FUNCTIONS 						    XDeviceBell(3)

NAME
XDeviceBell - ring a bell on a device supported through the input extension SYNTAX
Status XDeviceBell(Display *display, XDevice *device, XID *feedbackclass, XID *feedbackid, int *percent); ARGUMENTS
display Specifies the connection to the X server. device Specifies the device with which the bell is associated. feedbackclass Specifies the class of the feedback with which the bell is associated. feedbackid Specifies the id of the feedback with which the bell is associated. percent Specifies the volume in the range -100 to 100 at which the bell should be rung. DESCRIPTION
The XDeviceBell request causes the server to ring a bell on the specified feedback of the specified device, if possible. The specified volume is relative to the base volume for the bell. If an invalid device is specified, a BadDevice error will be returned. The feedback- class and feedbackid parameters contain values returned by an XGetFeedbackControl request and uniquely identify the bell to ring. If a feedbackclass is specified that does not support a bell, or if a nonexistent feedbackid is specified, or a percent value is specified that is not in the range -100 to 100, a BadValue error will be returned. The volume at which the bell is rung when the percent argument is nonnegative is: base - [(base * percent) / 100] + percent The volume at which the bell rings when the percent argument is negative is: base + [(base * percent) / 100] To change the base volume of the bell, use XChangeFeedbackControl. XDeviceBell can generate a BadDevice or a BadValue error. DIAGNOSTICS
BadDevice An invalid device was specified. The specified device does not exist, or has not been opened by this client via XOpenInputDe- vice. BadValue An invalid feedbackclass, feedbackid, or percent value was specified. SEE ALSO
XChangeFeedbackControl(3), XBell(3) Programming With Xlib X Version 11 libXi 1.2.1 XDeviceBell(3)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SuSE install on a Packard Bell m415

hi everybody, I just installed Suse on an old Packard Bell. When the install was at detecting my moden, it hung. I couldn't free it sooooo, I pressed ctrl+alt+backspace. Yup that killed the process alright. The machine went right down and upon reboot it is now at the KDE welcome page. Here... (2 Replies)
Discussion started by: joetech
2 Replies

2. UNIX for Advanced & Expert Users

bellmail: lockf(/usr/spool/mail/uucp): permission denied

I keep getting the following errors and I don't know where to look to resolve the problem. Any ideas? bellmail: lockf(/usr/spool/mail/uucp): permission denied bellmail: lockf(/usr/spool/mail/root): permission denied bellmail: lockf(/usr/spool/mail/daemon): no such file or directory.... AIX... (1 Reply)
Discussion started by: Docboyeee
1 Replies

3. Shell Programming and Scripting

Sobell Book script

hey peeps has anyone done the "Enhance the spell_check script (Sobell page 646) to accept an optional third argument" script. I am fully having trouble getting it to work. if you have done the script and dont mind sharing with others, please help me out. thanks mila :confused: (0 Replies)
Discussion started by: 30177005
0 Replies

4. 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

5. Shell Programming and Scripting

How to ring the system bell many times without pause?

I am writing a ksh script in cygwin though it could just as easily be bash and am trying to make an alert for myself where the bell rings many times like print '\a'or echo '^G'except I want it to ping me many times not just once. For some reason doing print '\a\a\a\a\a\a\a\a\a\a'or similar... (7 Replies)
Discussion started by: benalt
7 Replies

6. Solaris

Newly relabelled disc unable to initialize to Solaris 8 login - please help

We are having a problem with initializing Solaris 8 installed on a Sunblade 1500 after having cloned the hard disc. (The cloning process was done in a windows environment. Not a UNIX environment.) Immediately after the cloning process neither hard disc would boot until the format label... (10 Replies)
Discussion started by: DR_RALT
10 Replies

7. Web Development

White labelling

I am looking to whitelist a corporate financial website to brokers who can re-sell our products. A commonly cited approach is to clone the codebase and sub-domain it for each client which will allow for their own media assets and any bespoke programming. The big downside here is maintaining... (1 Reply)
Discussion started by: steve matthews
1 Replies

8. What is on Your Mind?

9hello.c

/* 9hello.c */ /* http://doc.cat-v.org/plan_9/programming/c_programming_in_plan_9 */ #include <u.h> #include <libc.h> void main() { print("hello, world\n"); exits(0); } (3 Replies)
Discussion started by: blixto
3 Replies