I'm new to FreeBSD, but I have managed to install 11.1-RELEASE onto my trusty Thinkpad T520. The only fancy thing I did was to install Links to more easily read the Handbook while testing out the commands in other virtual terminals.
The man page for kbdcontrol(1) says that I can change the duration and pitch of the bell, but I have been unable to achieve this. I've tried
I checked out the source and edited kbdcontrol with some printf statements to see what is being done with those parameters in the program, and it seems to be utilizing them correctly. The magic happens with the following line:
I've tried this as a normal user in the wheel group and as the super user. I've installed beep(1) from ports to verify that I could issue a beep at different pitches, but I'm not clear about whether that is being issued from the system bell or the speakers.
What process is watching stderr for this line? How can I determine what the current value of the system bell pitch and duration are?
The man page for kbdcontrol(1) says that I can change the duration and pitch of the bell, but I have been unable to achieve this. I've tried
kbdcontrol -b 100.300
as well as several other values. kbdcontrol -b quiet.visual
works for silencing the bell, but I would like to lower the pitch of the bell.I checked out the source and edited kbdcontrol with some printf statements to see what is being done with those parameters in the program, and it seems to be utilizing them correctly. The magic happens with the following line:
Code:
// I did a print statement here to verify this was being executed
fprintf(stderr, "^[[=%d;%dB", pitch, duration);
I've tried this as a normal user in the wheel group and as the super user. I've installed beep(1) from ports to verify that I could issue a beep at different pitches, but I'm not clear about whether that is being issued from the system bell or the speakers.
What process is watching stderr for this line? How can I determine what the current value of the system bell pitch and duration are?