bell
write(STDERR_FILENO, &bell, 1);
write(STDERR_FILENO, &bell, 1);
write(STDERR_FILENO, &bell, 1);
write(STDERR_FILENO, &bell, 1);
write(STDERR_FILENO, &bell, 1);
static char bell = ctrl('G');
write(STDERR_FILENO, &bell, 1);
write(STDERR_FILENO, &bell, 1);
} else if (bell) {
res = NCURSES_PUTP2_FLUSH("bell", bell);
} else if (bell) {
res = NCURSES_PUTP2_FLUSH("bell", bell);
always_delay = (string == bell) || (string == flash_screen);
if (WANTED(bell))
bell = _nc_save_str("\007");
if (bell) {
res = NCURSES_PUTP2("bell", bell);
} else if (bell) {
res = NCURSES_PUTP2("bell", bell);
bell.which = 0;
if (field_by_value(keyboard_field_tab, &bell.pitch)->flags & FLG_SET)
bell.which |= WSKBD_BELL_DOPITCH;
if (field_by_value(keyboard_field_tab, &bell.period)->flags & FLG_SET)
bell.which |= WSKBD_BELL_DOPERIOD;
if (field_by_value(keyboard_field_tab, &bell.volume)->flags & FLG_SET)
bell.which |= WSKBD_BELL_DOVOLUME;
if (bell.which != 0 && ioctl(fd, WSKBDIO_SETBELL, &bell) == -1) {
static struct wskbd_bell_data bell;
{ "bell.pitch", &bell.pitch, FMT_UINT, FLG_MODIFY },
{ "bell.period", &bell.period, FMT_UINT, FLG_MODIFY },
{ "bell.volume", &bell.volume, FMT_UINT, FLG_MODIFY },
bell.which = 0;
if (field_by_value(keyboard_field_tab, &bell.pitch)->flags & FLG_GET)
bell.which |= WSKBD_BELL_DOPITCH;
if (field_by_value(keyboard_field_tab, &bell.period)->flags & FLG_GET)
bell.which |= WSKBD_BELL_DOPERIOD;
if (field_by_value(keyboard_field_tab, &bell.volume)->flags & FLG_GET)
bell.which |= WSKBD_BELL_DOVOLUME;
if (bell.which != 0 && ioctl(fd, WSKBDIO_GETBELL, &bell) == -1)
void (*bell)(dev_t, u_int, u_int, u_int));
void (*bell)(dev_t, u_int, u_int, u_int))
wsdisplay_cons.cn_bell = bell;
if (wskbd_console_data.t_consops->bell != NULL)
(*wskbd_console_data.t_consops->bell)
void (*bell)(void *, u_int, u_int, u_int);
onoff(verbose), onoff(bell), onoff(interactive),
code = togglevar(argc, argv, &bell, "Bell mode");
if (bell && c->c_bell) {
extern int bell; /* ring bell on cmd completion */
if (bell && c->c_bell)
int bell;
putpad(bell, 1);