Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!rochester!pt.cs.cmu.edu!PROOF.ERGO.CS.CMU.EDU!tsf From: tsf@PROOF.ERGO.CS.CMU.EDU (Timothy Freeman) Newsgroups: comp.windows.x Subject: Re: Caps Lock Problem Message-ID: <4989@pt.cs.cmu.edu> Date: 15 May 89 02:03:42 GMT References: Organization: Carnegie-Mellon University, CS/RI Lines: 25 Well, when this arises on my Sun with X10R4, I fix it by pressing both shift keys down at once. There is an analogous problem with a virtual "meta-lock" becoming stuck down, which can be fixed by pressing both meta keys down at once. The problem is that sometimes the server doesn't hear the up transition on a shift key. So the server thinks there is one shift key down, but there are really zero. When this problem happens and you depress both shift keys, the count of the number of shift keys down goes to 3. The server is smart enough to know that there are really only two shift keys, so it reduces the count to 2 in this special case, and then when you lift the shift keys, the count goes back down to 0 like it should. I don't remember where I heard of this, it may have been on the sun-spots mailing list. I think code for the special case in the server that decrements the count from 3 to 2 has comments that explain the phenomenon. This is a common problem. Spread the word (but not by posting to comp.windows.x). -- Tim Freeman Arpanet: tsf@cs.cmu.edu Uucp: ...!seismo.css.gov!cs.cmu.edu!tsf --