bell(1T) Tk Built-In Commands bell(1T)__________________________________________________________________________________________________________________________________________________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
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 8.4 bell(1T)
Check Out this Related Man Page
XDEVICEBELL(3)XDEVICEBELL(3)NAME
XDeviceBell - ring a bell on a device supported through the input extension
SYNOPSIS
#include <X11/extensions/XInput.h>
Status XDeviceBell( Display *display,
XDevice *device,
XID feedbackclass,
XID feedbackid,
int percent);
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 feedbackclass 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 XOpenInputDevice.
BadValue
An invalid feedbackclass, feedbackid, or percent value
was specified.
SEE ALSO XChangeFeedbackControl(3), XBell(3)
03/09/2013 XDEVICEBELL(3)
I want to display an asterisk to the screen as part of a string. I know how to use the Backslash to escape it's value. But how do I display it without showing the Backslash? (1 Reply)
Hi,
I would like to know , how to concatenate two command in one line and get the display in one screen
for eg
command 1 : ls -l /data/logs
command 2 : ls -l /data/errors
output shd be
/data/logs /data/errors
xx-xx-xx-xx abc.log xx-xx-xx-xx... (9 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)
Hi,
I don't have a lot of info, so I'm sure this is a long shot. But figured I'd check to see if this issue rings a bell with anyone.
Two weeks ago a Unix server stopped updating the date. So everyday it shows the same system time. It's been manually changed to the correct date, but then... (2 Replies)
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)
Hi there,
I'm a newbie to Unix (taking a course in it right now) and I don't know how to do the following in bash:
I need to write a command to display information about the used and free space on the file system, showing only local file systems, and then send the output of the command to... (1 Reply)
Hi, this is my first post here.
I wanto make a screencasting program. I want to make a screen part selection to grab coordinates of the screen location.
I found a nice prototype
#include <X11/Xlib.h>
//#include <X11/Xresource.h>
#include <stdlib.h>
#include <stdio.h>
#include... (0 Replies)