Most of the keyboard bindings in Tk are lowercase
only, this means that when a user tries to activate a
keyboard binding with the capslock light on the
keypress is ignored.
I've modified tk.tcl as follows at about line 315:
"windows" {
event add <<Cut>> <Control-Key-x> <Control-Key-X>
<Shift-Key-Delete>
event add <<Copy>> <Control-Key-c> <Control-Key-C>
<Control-Key-Insert>
event add <<Paste>> <Control-Key-v> <Control-Key-V>
<Shift-Key-Insert>
event add <<PasteSelection>> <ButtonRelease-2>
}
As the keyboard bindings are case sensitive I've had
to add the capital X/C/V bindings also.
I posted this on comp.lang.tcl, some notes were made
about distinguishing between control-key and control-
shift-key but as discussed this shouldn't cause any
problems. When capslock is on the user isn't pressing
Shift.
All other bindings should be reviewed also and
extended to include upper and lower case(?).
tk.tcl (8.3.4.1)