|
|
1.1 ! root 1: .ds ZZ DEVELOPMENT PACKAGE ! 2: .TH SETLED 3L "630 MTG" ! 3: .XE "setLEDcap()" ! 4: .XE "setLEDscr()" ! 5: .SH NAME ! 6: setled: setLEDcap, setLEDscr \- set the caps lock and scroll lock LEDs ! 7: .SH SYNOPSIS ! 8: .ft B ! 9: void setLEDcap (n) ! 10: .sp ! 11: void setLEDscr (n) ! 12: .sp ! 13: \f3int n;\f1 ! 14: .ft R ! 15: .SH DESCRIPTION ! 16: The ! 17: .I setLEDcap ! 18: and ! 19: .I setLEDscr ! 20: functions ! 21: turn on and off the caps lock and scroll lock LEDs, respectively. ! 22: If ! 23: .I n ! 24: is 1, the LED is turned on. ! 25: If ! 26: .I n ! 27: is 0, the LED is turned off. ! 28: .PP ! 29: If the window is not current when the function is called, ! 30: the state of the LED is remembered and automatically changed ! 31: when the window is made current. ! 32: .P ! 33: These functions also update the label area to reflect the status ! 34: of the LEDs if the label is being used. The ! 35: .I setLEDscr ! 36: function will update the SCR_LOCK bit of P->state. ! 37: .P ! 38: These functions should not be used unless the program is using the ! 39: keyboard in NOTRANSLATE mode. Otherwise, the LEDs may not match ! 40: the actual state of the caps lock and scroll lock keys. ! 41: .SH SEE ALSO ! 42: keyboard(3R).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.