KEYLOCKS
[/?]
[INSON]
[INSOFF]
[NUMON]
[NUMOFF]
[CAPSON]
[CAPSOFF]
[SCROLLON]
[SCROLLOFF]
/?NUMONNUMOFFCAPSONCAPSOFFSCROLLONSCROLLOFFINSONINSOFFOn IBM OS/2 the 32-bit Unicode console API that KEYLOCKS uses is layered on top of the operating system's 16-bit VIO, KBD, and MOU subsystems. Unfortunately, the 16-bit KBD subsystem on IBM OS/2 does not allow the console shift state to be modified by a windowed program. KEYLOCKS will only work on IBM OS/2 when run full-screen. This is a limitation of the 16-bit subsystems in IBM OS/2, not of the KEYLOCKS command. Should this deficiency in the operating system ever be fixed, KEYLOCKS will automatically gain the ability to work when running in a windowed console.
The KEYLOCKS command alters the state of the keyboard shift locks (CAPS, NUM, and SCROLL) and insertion state for the current console. Each console has its own shift lock and insertion state, independent of all others.