How can one query the status of capslock from console which works in UTF-8 and non-UTF-8 locales that may or may not use ShiftLock/CapsLock?
How can one query the status of capslock from console which works in UTF-8 and non-UTF-8 locales that may or may not use ShiftLock/CapsLock?