Sets the duration of the keyboard bell sound.
FORTRAN (libfgl.a)
void setbell(Char8 durat)
SUBROUTINE SETBEL(durat) CHARACTER*1 durat
The setbell subroutine sets the duration of the keyboard bell sound. The keyboard bell is activated by the ringbell subroutine. Settings for the durat parameter are as follows:
Value | Meaning |
0 | Off |
1 | Short beep |
2 | Long beep |
Note: This subroutine cannot be used to add to a display list.
durat | Specifies the duration of the keyboard bell. |
The example C language program ovrlay.c uses the setbell subroutine to set the duration of the bell sound for a short beep.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Turning off the keyboard click with the clkoff subroutine.
Turning on the keyboard click with the clkon subroutine.
Turning on the keyboard display lights with the lampon subroutine.
Ringing the keyboard bell with the ringbell subroutine.
AIX Graphics Library Overview and Using the Keyboard.