Turn on or off ScrollLock leds
To turn on ScrollLock, use the setleds command as follows:
setleds -D +scroll
To turn off ScrollLock, enter:
setleds -D -scroll
- -D : Change both the VT flags and their default settings.
- +scroll : Clear ScrollLock.
- -scroll : Set ScrollLock.
Note: At present, pressing the ScrollLock key (or ^S/^Q) stops/starts console output.