[comp.windows.x] X11 CapsLock sillyness

hans@erisun.UUCP (Hans J. Albertsson) (10/11/87)

I was wondering about how an X server and/or its clients know what keysyms are
upper/lower case pairs. Being of a Swedish persuasion, I'd like to consider
`\' to be the upper case of `|', and was wondering how to encourage CapsLock
to have its way with these two.  After looking desperately for some time, I
finally did manage to find out. Let me say right away, I really had hoped it
wouldn't be like this; In XKeyBind.c I find the following:

			if (usymbol >= XK_A && usymbol <= XK_Z)

which is how X determines what KeySyms are affected by CapsLock.

Yeah. Can YOU spell  E-T-H-N-O-C-E-N-T-R-I-C??????

P.S. I know, I should use the pair XK_Odiaeresis/XK_odiaeresis, which are
defined, but they're unlikely to have the proper attention paid to their
relationship by the above code fragment either, are they? And, there
are no fonts for those. I sincerely hope that this part of X11 really
IS "under construction"...