DragonFly bugs List (threaded) for 2006-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: turning off the beep
YONETANI Tomokazu wrote:
Anyway, it turned out that both `-b off' and '-b quiet.off' turns off
the bell for me, without or without the patch :-] Do you see something
if you change the line calling ioctl() to something below?
if (ioctl(0, CONS_BELLTYPE, &bell) == -1)
perror("CONS_BELLTYPE");
if ((bell & ~2) == 0)
fprintf(stderr, "\x1B[=%d;%dB", pitch, duration);
If so, you may have to dig into scioctl() to find where it's failing
to set flags or flash the screen.
thank you for the help, looks like I'm digging into scioctl() :
# kbdcontrol -b visual
CONS_BELLTYPE: Inappropriate ioctl for device
# kbdcontrol -b quiet.off
CONS_BELLTYPE: Inappropriate ioctl for device
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]